From 6ea11dc7ad65db6624efc99bd54e35e33938c913 Mon Sep 17 00:00:00 2001 From: Stefan Bethge Date: Tue, 10 Oct 2006 00:59:31 +0000 Subject: [PATCH] fix avatars not showing with zeroconf enabled --- src/common/zeroconf/connection_handlers_zeroconf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/zeroconf/connection_handlers_zeroconf.py b/src/common/zeroconf/connection_handlers_zeroconf.py index e9ba59f18..a698107f6 100644 --- a/src/common/zeroconf/connection_handlers_zeroconf.py +++ b/src/common/zeroconf/connection_handlers_zeroconf.py @@ -553,7 +553,7 @@ class ConnectionVcard: def node_to_dict(self, node): dict = {} - ''' + for info in node.getChildren(): name = info.getName() if name in ('ADR', 'TEL', 'EMAIL'): # we can have several @@ -569,7 +569,7 @@ class ConnectionVcard: dict[name] = {} for c in info.getChildren(): dict[name][c.getName()] = c.getData() - ''' + return dict def save_vcard_to_hd(self, full_jid, card):