summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-08-27 23:41:13 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-12-27 18:58:48 +0100
commitecdd036237b4a78a08cb0a72a651b2077f6c721e (patch)
treeb1d2c3fb98f880631733ae82d0dd3040f9fb3bbf
parente8dd6f0a91bfe59836bef58588e90b5c6fb1a1ed (diff)
downloadpoezio-ecdd036237b4a78a08cb0a72a651b2077f6c721e.tar.gz
poezio-ecdd036237b4a78a08cb0a72a651b2077f6c721e.tar.bz2
poezio-ecdd036237b4a78a08cb0a72a651b2077f6c721e.tar.xz
poezio-ecdd036237b4a78a08cb0a72a651b2077f6c721e.zip
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>
-rw-r--r--plugins/omemo_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omemo_plugin.py b/plugins/omemo_plugin.py
index 55adda14..c59e0219 100644
--- a/plugins/omemo_plugin.py
+++ b/plugins/omemo_plugin.py
@@ -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
]