From 7b31cb56ded4ee55a67e93e4e5ab43cadb758a3e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 13 Dec 2005 21:40:12 +0000 Subject: [PATCH] one more check to not TB: don't try to remove roster contact when it's about gc contact --- src/tabbed_chat_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index aa1335b4a..cfcc284dc 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -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)