changeset 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 318acc83a392
children 8b6137f7b4e1
files src/core/sat_main.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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