Skip to content
Snippets Groups Projects
Commit 117acf70 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

contact.show can be not in roster. Fixes #1792

parent bd4a18b8
No related branches found
No related tags found
No related merge requests found
......@@ -316,8 +316,8 @@ class Contacts:
score = priority*10000
if not common.gajim.jid_is_transport(jid):
score += contact.priority*10
score += ['error', 'offline', 'invisible', 'dnd', 'xa', 'away', 'chat',
'online'].index(contact.show)
score += ['not in roster', 'error', 'offline', 'invisible', 'dnd', 'xa',
'away', 'chat', 'online'].index(contact.show)
return score
def get_metacontacts_big_brother(self, family):
......
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