Commit 2df09bc2 authored by Philipp Hörist's avatar Philipp Hörist

GroupchatRoster: Sort by status in correct order

parent 0df75488
Pipeline #5799 passed with stages
in 5 minutes and 3 seconds
......@@ -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