diff options
Diffstat (limited to 'src/roster.py')
-rw-r--r-- | src/roster.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/roster.py b/src/roster.py index 818b3025..56c65d8f 100644 --- a/src/roster.py +++ b/src/roster.py @@ -256,6 +256,7 @@ class RosterGroup(object): return PRESENCE_PRIORITY[show] contact_list = self.contacts if not contact_filter\ else [contact for contact in self.contacts.copy() if contact_filter[0](contact, contact_filter[1])] + contact_list = sorted(contact_list, key=lambda x: x.bare_jid) return sorted(contact_list, key=compare_contact, reverse=True) def toggle_folded(self): |