don't put an offline contact above another one only because it has a status message. fixes #3010
This commit is contained in:
parent
ed3db807d9
commit
0f72499eac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue