get_fingerprints is not async
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
91e52cb724
commit
9e25a99316
1 changed files with 2 additions and 2 deletions
|
@ -108,9 +108,9 @@ class Plugin(E2EEPlugin):
|
||||||
"""Poezio logger Helper"""
|
"""Poezio logger Helper"""
|
||||||
self.api.information(txt, 'Error')
|
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"""
|
"""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 did -> None entries?
|
||||||
# XXX: What to do with the active/inactive devices differenciation?
|
# XXX: What to do with the active/inactive devices differenciation?
|
||||||
|
|
Loading…
Reference in a new issue