Gajim is JEP-0011 compliemt now
This commit is contained in:
parent
56d60f3fd5
commit
fab74069c6
1 changed files with 18 additions and 18 deletions
|
@ -321,9 +321,9 @@ class Connection:
|
||||||
def _BrowseResultCB(self, con, iq_obj):
|
def _BrowseResultCB(self, con, iq_obj):
|
||||||
gajim.log.debug('BrowseResultCB')
|
gajim.log.debug('BrowseResultCB')
|
||||||
identities, features, items = [], [], []
|
identities, features, items = [], [], []
|
||||||
q = iq_obj.getTag('service')
|
for q in iq_obj.getChildren():
|
||||||
if not q:
|
if q.getNamespace() != common.xmpp.NS_BROWSE:
|
||||||
return identities, features, items
|
continue
|
||||||
attr = {}
|
attr = {}
|
||||||
for key in q.getAttrs().keys():
|
for key in q.getAttrs().keys():
|
||||||
attr[key.encode('utf8')] = q.getAttr(key).encode('utf8')
|
attr[key.encode('utf8')] = q.getAttr(key).encode('utf8')
|
||||||
|
|
Loading…
Add table
Reference in a new issue