show jid in search result with non data forms result. see #3304

This commit is contained in:
Yann Leboulanger 2007-07-21 19:39:45 +00:00
parent 0df9082809
commit bca61b7400
1 changed files with 2 additions and 1 deletions

View File

@ -1419,7 +1419,8 @@ class Connection(ConnectionHandlers):
return
df = []
for item in tag.getTags('item'):
f = {}
# We also show attributes. jid is there
f = item.attrs
for i in item.getPayload():
f[i.getName()] = i.getData()
df.append(f)