Commit 6ea11dc7 authored by sb's avatar sb

fix avatars not showing with zeroconf enabled

parent f405de3f
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment