one more check to not TB:

don't try to remove roster contact when it's about gc contact
This commit is contained in:
Yann Leboulanger 2005-12-13 21:40:12 +00:00
parent 02c6805a23
commit 7b31cb56de
1 changed files with 1 additions and 1 deletions

View File

@ -875,7 +875,7 @@ class TabbedChatWindow(chat.Chat):
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)