frontends (quick_app): fixes wrong JID construction when processing getPresenceStatuses result
This commit is contained in:
parent
2f6b8ae771
commit
5781d78d2b
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ class QuickApp(object):
|
|||
presences = self.bridge.getPresenceStatuses(profile)
|
||||
for contact in presences:
|
||||
for res in presences[contact]:
|
||||
jabber_id = contact + ('/' + res if res else '')
|
||||
jabber_id = ('%s/%s' % (JID(contact).bare, res)) if res else contact
|
||||
show = presences[contact][res][0]
|
||||
priority = presences[contact][res][1]
|
||||
statuses = presences[contact][res][2]
|
||||
|
|
|
|||
Loading…
Reference in a new issue