changeset 3554:184c66256bbc

plugin XEP-0054: fix update call
author Goffi <goffi@goffi.org>
date Wed, 09 Jun 2021 11:35:49 +0200
parents 01c23359b915
children 53fec6309fa3
files sat/plugins/plugin_xep_0054.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0054.py	Wed Jun 09 11:27:22 2021 +0200
+++ b/sat/plugins/plugin_xep_0054.py	Wed Jun 09 11:35:49 2021 +0200
@@ -282,7 +282,7 @@
         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}"