From 3fbe15edab69375aa09b7cf757de61c6025e146c Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Sun, 9 Apr 2006 00:08:34 +0000 Subject: [PATCH] Do not TB in systray when a contact has 'not in the roster' for show, don't list him in chat with. --- src/systray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systray.py b/src/systray.py index b19b2227e..4eb1f2b76 100644 --- a/src/systray.py +++ b/src/systray.py @@ -256,7 +256,7 @@ class Systray: for jid in gajim.contacts.get_jid_list(account): contact = gajim.contacts.get_contact_with_highest_priority(account, jid) - if contact.show != 'offline' and contact.show != 'error': + if contact.show not in ('offline', 'error', 'not in roster'): if contact.groups == []: #user has no group, print him in General contact_groups = [_('General')] else: