fix avatars not showing with zeroconf enabled

This commit is contained in:
Stefan Bethge 2006-10-10 00:59:31 +00:00
parent f405de3fc1
commit 6ea11dc7ad
1 changed files with 2 additions and 2 deletions

View File

@ -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):