Commit ec846f22 authored by Maxime Buquet's avatar Maxime Buquet

omemo: decode decrypted body

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <>
parent 50833050
......@@ -63,6 +63,7 @@ class Plugin(E2EEPlugin):
body = None
body = self.core.xmpp['xep_0384'].decrypt_message(message, allow_untrusted)
body = body.decode('utf-8')
except (MissingOwnKey,):
# The message is missing our own key, it was not encrypted for
# us, and we can't decrypt it.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment