Mercurial > libervia-web
diff browser_side/contact.py @ 265:56a307f08ffe
browser_side: sort the the result of ContactList.getConnected()
author | souliane <souliane@mailoo.org> |
---|---|
date | Sun, 17 Nov 2013 17:43:31 +0100 |
parents | 30c01671e338 |
children | a76243c02074 |
line wrap: on
line diff
--- a/browser_side/contact.py Sun Nov 17 17:41:54 2013 +0100 +++ b/browser_side/contact.py Sun Nov 17 17:43:31 2013 +0100 @@ -312,7 +312,9 @@ def getConnected(self): """return a list of all jid (bare jid) connected""" - return self.connected.keys() + contacts = self.connected.keys() + contacts.sort() + return contacts def getContactGroups(self, contact_jid): """Get groups where contact is