show jid in search result with non data forms result. see #3304
This commit is contained in:
parent
0df9082809
commit
bca61b7400
|
@ -1419,7 +1419,8 @@ class Connection(ConnectionHandlers):
|
||||||
return
|
return
|
||||||
df = []
|
df = []
|
||||||
for item in tag.getTags('item'):
|
for item in tag.getTags('item'):
|
||||||
f = {}
|
# We also show attributes. jid is there
|
||||||
|
f = item.attrs
|
||||||
for i in item.getPayload():
|
for i in item.getPayload():
|
||||||
f[i.getName()] = i.getData()
|
f[i.getName()] = i.getData()
|
||||||
df.append(f)
|
df.append(f)
|
||||||
|
|
Loading…
Reference in New Issue