Skip to content
Snippets Groups Projects
Commit c4970871 authored by jimpp's avatar jimpp
Browse files

Continue to check message for HL words after we found one that could be only...

Continue to check message for HL words after we found one that could be only the beginning of another real word.
parent d10e2032
No related branches found
No related tags found
No related merge requests found
......@@ -818,8 +818,8 @@ def needs_visual_notification(self, text):
if (refer_to_nick_char != ''):
if refer_to_nick_char.isalpha():
# This is A->Z, a->z or 0-9, we can be sure our nick is the
# beginning of a real word, do not highlight.
return False
# beginning of a real word, do not highlight for this one.
break
else:
return True
else: # Special word == word, no char after in word
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment