diff --git a/libervia/backend/plugins/plugin_xep_0054.py b/libervia/backend/plugins/plugin_xep_0054.py index 15706c62..1743953e 100644 --- a/libervia/backend/plugins/plugin_xep_0054.py +++ b/libervia/backend/plugins/plugin_xep_0054.py @@ -274,7 +274,7 @@ class XEP_0054(object): @param entity_jid(jid.JID): jid from which we want the VCard @result(dict): vCard data """ - entity_jid = self._i.get_identity_jid(client, entity_jid) + entity_jid = await self._i.get_identity_jid(client, entity_jid) log.debug(f"Asking for {entity_jid}'s VCard") try: vcard_elt = await self.get_vcard_element(client, entity_jid) @@ -298,7 +298,7 @@ class XEP_0054(object): @param entity: entity to get avatar from @return: avatar metadata, or None if no avatar has been found """ - entity_jid = self._i.get_identity_jid(client, entity_jid) + entity_jid = await self._i.get_identity_jid(client, entity_jid) hashes_cache = client._xep_0054_avatar_hashes vcard = await self.get_card(client, entity_jid) if vcard is None: @@ -393,7 +393,7 @@ class XEP_0054_handler(XMPPHandler): @param presence(domish.Element): stanza """ client = self.parent - entity_jid = self.plugin_parent._i.get_identity_jid( + entity_jid = await self.plugin_parent._i.get_identity_jid( client, jid.JID(presence["from"]) )