don't show * [n] when not needed

This commit is contained in:
Yann Leboulanger 2005-12-05 11:57:14 +00:00
parent 19dc3b9295
commit 7636e43a2d
1 changed files with 1 additions and 1 deletions

View File

@ -962,7 +962,7 @@ class Chat:
not self.window.is_active() or \
not end) and kind in ('incoming', 'incoming_queue'):
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
urgent = False
if not gajim.config.get('notify_on_all_muc_messages'):