Mercurial > libervia-backend
diff src/core/sat_main.py @ 768:e1c64a5b4588
core: fix bridge method getContactsFromGroup return value (list of jids --> list of strings)
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 18 Dec 2013 10:39:19 +0100 |
parents | 93bd868b8fb6 |
children | bfabeedbf32e |
line wrap: on
line diff
--- a/src/core/sat_main.py Wed Dec 18 09:55:02 2013 +0100 +++ b/src/core/sat_main.py Wed Dec 18 10:39:19 2013 +0100 @@ -309,7 +309,7 @@ client = self.getClient(profile_key) if not client: raise exceptions.ProfileUnknownError(_("Asking group's contacts for a non-existant profile")) - return client.roster.getJidsFromGroup(group) + return [jid.full() for jid in client.roster.getJidsFromGroup(group)] def purgeClient(self, profile): """Remove reference to a profile client and purge cache