GNOME Bugzilla – Bug 710408
doesn't highlight nick when my current nick has an underscore
Last modified: 2013-10-17 21:38:56 UTC
If I connect to IRC using the fallback nick "mccann_" because my usual nick is timing out or whatever then I don't get notifications for mentions of "mccann".
Created attachment 257606 [details] [review] room: Make highlighting a bit smarter Not everyone is paying close attention to nick changes (or doesn't use tab completion for mentions), so we should be more forgiving when matching messages. In particular users may be connected with multiple clients, or get '_' automatically appended to their nick after reconnecting - handle these cases by stripping all non-alphanumeric characters from the matched nick. This still doesn't handle cases like 'nick-away', 'nick|lunch' etc., but it is a clear improvement over the current behavior.
Attachment 257606 [details] pushed as cc7042f - room: Make highlighting a bit smarter