diff --git a/sat/plugins/plugin_xep_0054.py b/sat/plugins/plugin_xep_0054.py index 8b5c1dce..29c0753e 100644 --- a/sat/plugins/plugin_xep_0054.py +++ b/sat/plugins/plugin_xep_0054.py @@ -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}"