diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2019-08-22 23:38:55 +0200 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2019-12-27 18:57:33 +0100 |
commit | ec846f222e1ed294cbd57ada33c61f38d782c7aa (patch) | |
tree | 36fbb7efd0fe91e913467d8ef5f35c4b05285601 | |
parent | 50833050c777b08f08d2fd22a19987814b8634eb (diff) | |
download | poezio-ec846f222e1ed294cbd57ada33c61f38d782c7aa.tar.gz poezio-ec846f222e1ed294cbd57ada33c61f38d782c7aa.tar.bz2 poezio-ec846f222e1ed294cbd57ada33c61f38d782c7aa.tar.xz poezio-ec846f222e1ed294cbd57ada33c61f38d782c7aa.zip |
omemo: decode decrypted body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r-- | plugins/omemo_plugin.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/omemo_plugin.py b/plugins/omemo_plugin.py index 652fb018..e9f2e1b8 100644 --- a/plugins/omemo_plugin.py +++ b/plugins/omemo_plugin.py @@ -63,6 +63,7 @@ class Plugin(E2EEPlugin): body = None try: 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. |