fix avatars not showing with zeroconf enabled
This commit is contained in:
parent
f405de3fc1
commit
6ea11dc7ad
|
@ -553,7 +553,7 @@ class ConnectionVcard:
|
||||||
|
|
||||||
def node_to_dict(self, node):
|
def node_to_dict(self, node):
|
||||||
dict = {}
|
dict = {}
|
||||||
'''
|
|
||||||
for info in node.getChildren():
|
for info in node.getChildren():
|
||||||
name = info.getName()
|
name = info.getName()
|
||||||
if name in ('ADR', 'TEL', 'EMAIL'): # we can have several
|
if name in ('ADR', 'TEL', 'EMAIL'): # we can have several
|
||||||
|
@ -569,7 +569,7 @@ class ConnectionVcard:
|
||||||
dict[name] = {}
|
dict[name] = {}
|
||||||
for c in info.getChildren():
|
for c in info.getChildren():
|
||||||
dict[name][c.getName()] = c.getData()
|
dict[name][c.getName()] = c.getData()
|
||||||
'''
|
|
||||||
return dict
|
return dict
|
||||||
|
|
||||||
def save_vcard_to_hd(self, full_jid, card):
|
def save_vcard_to_hd(self, full_jid, card):
|
||||||
|
|
Loading…
Reference in New Issue