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

gropchat messages that are not for us do not count as new messages

parent f6ca3848
No related branches found
No related tags found
No related merge requests found
......@@ -771,6 +771,9 @@ def print_conversation_line(self, text, jid, kind, name, tim,
if (jid != self.get_active_jid() or \
not self.window.is_active() or \
not end) and kind == 'incoming':
if self.widget_name == 'groupchat_window': # Do not print gc messages
if text.find(self.nicks[jid]) == -1: # that are not for us
return
self.nb_unread[jid] += 1
if self.plugin.systray_enabled:
self.plugin.systray.add_jid(jid, self.account)
......
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