in gc, lines with user's nick is not a separate word are also marked as for us (Liorithiel's patch) fix #463
This commit is contained in:
parent
858702cb1e
commit
304d316066
|
@ -552,9 +552,8 @@ class GroupchatWindow(chat.Chat):
|
||||||
else:
|
else:
|
||||||
kind = 'status'
|
kind = 'status'
|
||||||
|
|
||||||
if kind == 'incoming' and (self.nicks[room_jid].lower() in \
|
if kind == 'incoming' and \
|
||||||
text.lower().split() or self.nicks[room_jid].lower() + \
|
text.lower().find(self.nicks[room_jid].lower()) != -1:
|
||||||
self.gc_refer_to_nick_char in text.lower().split()):
|
|
||||||
other_tags_for_name.append('bold')
|
other_tags_for_name.append('bold')
|
||||||
other_tags_for_text.append('marked')
|
other_tags_for_text.append('marked')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue