omemo: Update get_fingerprints with slixmpp-omemo changes

slixmpp-omemo's get_trust_for_jid doesn't provide fingerprints directly
anymore, it simply wraps the omemo lib method.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-08-27 23:41:13 +02:00
parent e8dd6f0a91
commit ecdd036237

View file

@ -77,7 +77,7 @@ class Plugin(E2EEPlugin):
# later on.
devices['active'].update(devices['inactive'])
return [
trust['fingerprint']
slixmpp_omemo.fp_from_ik(trust['key'])
for trust in devices['active'].values()
if trust is not None
]