plugin XEP-0054: fix update call
This commit is contained in:
parent
d5f0d7ec8e
commit
c32defe690
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ class XEP_0054(object):
|
|||
try:
|
||||
vcard_elt = await self.getVCardElement(client, entity_jid)
|
||||
except exceptions.DataError:
|
||||
self._i.update(client, IMPORT_NAME, "avatar", IMPORT_NAME, None, entity_jid)
|
||||
self._i.update(client, IMPORT_NAME, "avatar", None, entity_jid)
|
||||
except Exception as e:
|
||||
log.warning(_(
|
||||
"Can't get vCard for {entity_jid}: {e}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue