diff --git a/poezio_omemo/__init__.py b/poezio_omemo/__init__.py index 0ce1f3e..ed734e9 100644 --- a/poezio_omemo/__init__.py +++ b/poezio_omemo/__init__.py @@ -108,9 +108,9 @@ class Plugin(E2EEPlugin): """Poezio logger Helper""" self.api.information(txt, 'Error') - def get_fingerprints(self, jid: JID) -> List[str]: + async def get_fingerprints(self, jid: JID) -> List[str]: """Return fingerprints for the provided JID""" - devices = self.core.xmpp['xep_0384'].get_trust_for_jid(jid) + devices = await self.core.xmpp['xep_0384'].get_trust_for_jid(jid) # XXX: What to do with did -> None entries? # XXX: What to do with the active/inactive devices differenciation?