core: fix bridge method getContactsFromGroup return value (list of jids --> list of strings)

This commit is contained in:
souliane 2013-12-18 10:39:19 +01:00
commit ea34ae362a

View file

@ -309,7 +309,7 @@ class SAT(service.Service):
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