don't put an offline contact above another one only because it has a status message. fixes #3010

This commit is contained in:
Yann Leboulanger 2007-06-14 22:05:33 +00:00
parent ed3db807d9
commit 0f72499eac
1 changed files with 0 additions and 6 deletions

View File

@ -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