From c32defe690a24700a6f05435c180e4458c62cd57 Mon Sep 17 00:00:00 2001 From: Goffi Date: Wed, 9 Jun 2021 11:35:49 +0200 Subject: [PATCH] plugin XEP-0054: fix update call --- sat/plugins/plugin_xep_0054.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"