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:
parent
d8a7246d89
commit
3fbe15edab
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue