From bca61b7400433e26d83f9778806a7c48d03bc450 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 21 Jul 2007 19:39:45 +0000 Subject: [PATCH] show jid in search result with non data forms result. see #3304 --- src/common/connection.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/connection.py b/src/common/connection.py index 44f05c507..de6ed28f0 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -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)