Commit f8a2abdb authored by Philipp Hörist's avatar Philipp Hörist
Browse files

GroupchatRoster: Sort by status in correct order

parent d09fe651
......@@ -345,7 +345,7 @@ class GroupchatRoster(Gtk.ScrolledWindow, EventHelper):
self.room_jid,
nick2)
if gc_contact1.show != gc_contact2.show:
return -1 if gc_contact1.show < gc_contact2.show else 1
return -1 if gc_contact1.show > gc_contact2.show else 1
return locale.strcoll(nick1.lower(), nick2.lower())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment