Closed itsjesski closed 6 years ago
Highlights both direct @ mentions as well as just the name spelled out. Maybe there should be a toggle for non @ mentions for users with commonly written names? For example "T" was in the chat the other day. This would technically highlight all messages with the letter T in them.
This is awesome. I updated it to use a RegEx instead of raw string comparisons. I know you hate them, but this is a perfect use case for regexes. Now T could use this feature without issue because the regex requires that there is a "word boundary" on either side of the username. So the message will only get highlighted if there is a T by itself. But not when its within a word. This combined with #8 I think it will cover most, if not all, use cases.
Highlight messages that mention the logged in user with a different background color.