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

one more check to not TB:

don't try to remove roster contact when it's about gc contact
parent 02c6805a
No related branches found
No related tags found
No related merge requests found
......@@ -875,7 +875,7 @@ def read_queue(self, jid):
gajim.interface.systray.remove_jid(jid, self.account, typ)
showOffline = gajim.config.get('showoffline')
if (contact.show == 'offline' or contact.show == 'error') and \
not showOffline:
not showOffline and typ == 'chat':
if len(gajim.contacts[self.account][jid]) == 1:
gajim.interface.roster.really_remove_contact(contact, self.account)
......
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