From d8bf9f69a8292ab41c99e38628ace41a481a06f6 Mon Sep 17 00:00:00 2001
From: Dimitur Kirov <dkirov@gmail.com>
Date: Tue, 9 May 2006 19:56:29 +0000
Subject: [PATCH] add two more possible statuses - #1945

---
 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 3826cec72f..e04df52d27 100644
--- a/src/common/contacts.py
+++ b/src/common/contacts.py
@@ -327,7 +327,7 @@ class Contacts:
 		if not common.gajim.jid_is_transport(jid):
 			score += contact.priority*10
 		score += ['not in roster', 'error', 'offline', 'invisible', 'dnd', 'xa',
-			'away', 'chat', 'online'].index(contact.show)
+		'away', 'chat', 'online', 'requested', 'message'].index(contact.show)
 		return score
 
 	def get_metacontacts_big_brother(self, family):
-- 
GitLab