print the nick as bold in gc if the text contain 'nick:'
This commit is contained in:
parent
c2dd8c1081
commit
e9ce2593bc
|
@ -304,8 +304,9 @@ class Groupchat_window(chat.Chat):
|
|||
else:
|
||||
kind = 'status'
|
||||
|
||||
if kind == 'incoming' and self.nicks[room_jid].lower() in\
|
||||
text.lower().split():
|
||||
if kind == 'incoming' and (self.nicks[room_jid].lower() in \
|
||||
text.lower().split() or self.nicks[room_jid].lower() + ':' in \
|
||||
text.lower().split()):
|
||||
other_tags_for_name.append('bold')
|
||||
|
||||
chat.Chat.print_conversation_line(self, text, room_jid, kind, contact, tim, \
|
||||
|
|
Loading…
Reference in New Issue