Fetch up-to-date bundle info on /omemo_fingerprint
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
3096d439d4
commit
d40a9d90cc
1 changed files with 5 additions and 0 deletions
|
@ -125,6 +125,11 @@ class Plugin(E2EEPlugin):
|
|||
|
||||
async def get_fingerprints(self, jid: JID) -> List[str]:
|
||||
"""Return fingerprints for the provided JID"""
|
||||
# XXX: Do we want to keep this here?
|
||||
self.core.information('Fetching up-to-date fingerprint information…', 'Info')
|
||||
await self.core.xmpp['xep_0384'].fetch_devices(jid)
|
||||
await self.core.xmpp['xep_0384'].fetch_bundles(jid)
|
||||
|
||||
devices = await self.core.xmpp['xep_0384'].get_trust_for_jid(jid)
|
||||
|
||||
# XXX: What to do with did -> None entries?
|
||||
|
|
Loading…
Reference in a new issue