don't show * [n] when not needed
This commit is contained in:
parent
19dc3b9295
commit
7636e43a2d
|
@ -962,7 +962,7 @@ class Chat:
|
||||||
not self.window.is_active() or \
|
not self.window.is_active() or \
|
||||||
not end) and kind in ('incoming', 'incoming_queue'):
|
not end) and kind in ('incoming', 'incoming_queue'):
|
||||||
if self.widget_name == 'groupchat_window':
|
if self.widget_name == 'groupchat_window':
|
||||||
if text.find(self.nicks[jid]) == -1:
|
if not self.needs_highlight(text, self.nicks[jid]):
|
||||||
# Do not notify us for gc messages that are not for us
|
# Do not notify us for gc messages that are not for us
|
||||||
urgent = False
|
urgent = False
|
||||||
if not gajim.config.get('notify_on_all_muc_messages'):
|
if not gajim.config.get('notify_on_all_muc_messages'):
|
||||||
|
|
Loading…
Reference in New Issue