From 0f72499eac46a29142c5f4ec5e9f98db507dbac6 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Thu, 14 Jun 2007 22:05:33 +0000
Subject: [PATCH] don't put an offline contact above another one only because
 it has a status message. fixes #3010

---
 src/roster_window.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/roster_window.py b/src/roster_window.py
index 17e7f6cc17..6a92a873d3 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -4537,12 +4537,6 @@ class RosterWindow:
 				return -1
 			elif show1 > show2:
 				return 1
-			if show1 == 6 and show2 == 6:
-				# If both are offline, and one has a status message, it is above
-				if contact1.status and not contact2.status:
-					return -1
-				elif contact2.status and not contact1.status:
-					return 1
 		# We compare names
 		if name1.lower() < name2.lower():
 			return -1
-- 
GitLab