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:
parent
5b56308c68
commit
8eebd2c26f
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue