show can be 'error' too

This commit is contained in:
Dimitur Kirov 2006-03-24 23:50:26 +00:00
parent 751a6fe483
commit c9bdf56da7
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ class Contacts:
score = priority*10000
if not common.gajim.jid_is_transport(jid):
score += contact.priority*10
score += ['offline', 'invisible', 'dnd', 'xa', 'away', 'chat',
score += ['error', 'offline', 'invisible', 'dnd', 'xa', 'away', 'chat',
'online'].index(contact.show)
return score