Skip to content
Snippets Groups Projects
Commit 8eebd2c2 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

remove a useless test that introduced a bug: when we restore conversation we...

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
parent 5b56308c
No related branches found
No related tags found
No related merge requests found
......@@ -845,7 +845,7 @@ def read_queue(self, jid):
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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment