Skip to content
Snippets Groups Projects
Commit 2df09bc2 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

GroupchatRoster: Sort by status in correct order

parent 0df75488
No related branches found
No related tags found
No related merge requests found
......@@ -345,7 +345,7 @@ def _tree_compare_iters(self, model, iter1, iter2, _user_data):
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())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment