Skip to content
Snippets Groups Projects
Commit e9ce2593 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

print the nick as bold in gc if the text contain 'nick:'

parent c2dd8c10
No related branches found
No related tags found
No related merge requests found
......@@ -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, \
......
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