remove a useless test that introduced a bug: when we restore conversation we are not active tab yet (tab is not drawn yet), but we'll in some ms, so we can safely do systray.remove_jid() as we already removed the events from awaiting_messages

This commit is contained in:
Yann Leboulanger 2005-12-07 17:01:15 +00:00
parent 5b56308c68
commit 8eebd2c26f
1 changed files with 1 additions and 1 deletions

View File

@ -845,7 +845,7 @@ class TabbedChatWindow(chat.Chat):
typ = 'pm'
gajim.interface.roster.draw_contact(jid, self.account)
if jid == self.get_active_jid() and gajim.interface.systray_enabled:
if gajim.interface.systray_enabled:
gajim.interface.systray.remove_jid(jid, self.account, typ)
showOffline = gajim.config.get('showoffline')
if (contact.show == 'offline' or contact.show == 'error') and \