From 7636e43a2de0c1b9b38149a0e941e2c0a198e874 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 5 Dec 2005 11:57:14 +0000 Subject: [PATCH] don't show * [n] when not needed --- src/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat.py b/src/chat.py index f57790874..de569462d 100644 --- a/src/chat.py +++ b/src/chat.py @@ -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'):