# HG changeset patch
# User Goffi <goffi@goffi.org>
# Date 1623231349 -7200
# Node ID 184c66256bbcf74a31cb570c9e22bf9fbf68f20f
# Parent  01c23359b91582eb22683be7f5b15846f4d85b3c
plugin XEP-0054: fix update call

diff -r 01c23359b915 -r 184c66256bbc sat/plugins/plugin_xep_0054.py
--- 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}"