Skip to content
Snippets Groups Projects
Commit 3fbe15ed authored by jimpp's avatar jimpp
Browse files

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

with.
parent d8a7246d
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment