show can be 'error' too
This commit is contained in:
parent
751a6fe483
commit
c9bdf56da7
|
@ -313,7 +313,7 @@ class Contacts:
|
||||||
score = priority*10000
|
score = priority*10000
|
||||||
if not common.gajim.jid_is_transport(jid):
|
if not common.gajim.jid_is_transport(jid):
|
||||||
score += contact.priority*10
|
score += contact.priority*10
|
||||||
score += ['offline', 'invisible', 'dnd', 'xa', 'away', 'chat',
|
score += ['error', 'offline', 'invisible', 'dnd', 'xa', 'away', 'chat',
|
||||||
'online'].index(contact.show)
|
'online'].index(contact.show)
|
||||||
return score
|
return score
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue