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:
|
else:
|
||||||
kind = 'status'
|
kind = 'status'
|
||||||
|
|
||||||
if kind == 'incoming' and self.nicks[room_jid].lower() in\
|
if kind == 'incoming' and (self.nicks[room_jid].lower() in \
|
||||||
text.lower().split():
|
text.lower().split() or self.nicks[room_jid].lower() + ':' in \
|
||||||
|
text.lower().split()):
|
||||||
other_tags_for_name.append('bold')
|
other_tags_for_name.append('bold')
|
||||||
|
|
||||||
chat.Chat.print_conversation_line(self, text, room_jid, kind, contact, tim, \
|
chat.Chat.print_conversation_line(self, text, room_jid, kind, contact, tim, \
|
||||||
|
|
Loading…
Reference in New Issue