Do not TB in systray when a contact has 'not in the roster' for show, don't list him in chat

with.
This commit is contained in:
Jean-Marie Traissard 2006-04-09 00:08:34 +00:00
parent d8a7246d89
commit 3fbe15edab
1 changed files with 1 additions and 1 deletions

View File

@ -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: