From c9bdf56da71d5d08257ad34a0be6cf54532da29d Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Fri, 24 Mar 2006 23:50:26 +0000 Subject: [PATCH] show can be 'error' too --- src/common/contacts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/contacts.py b/src/common/contacts.py index d6cec499d..f209809b9 100644 --- a/src/common/contacts.py +++ b/src/common/contacts.py @@ -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