summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-06-28 00:21:21 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-07-01 19:42:45 +0200
commit812d9485e39ddb54e069ea9ddfb046280ae43cf8 (patch)
tree416a556745ef11580e5da4fa52b5ed5b1d9e1dc6
parent29a4ea389f75c918706ab64dac94b2cb229069bf (diff)
downloadpoezio-812d9485e39ddb54e069ea9ddfb046280ae43cf8.tar.gz
poezio-812d9485e39ddb54e069ea9ddfb046280ae43cf8.tar.bz2
poezio-812d9485e39ddb54e069ea9ddfb046280ae43cf8.tar.xz
poezio-812d9485e39ddb54e069ea9ddfb046280ae43cf8.zip
e2ee-api: update b64 plugin with latest changes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--plugins/b64.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/b64.py b/plugins/b64.py
index 57b2664f..d56ac5b3 100644
--- a/plugins/b64.py
+++ b/plugins/b64.py
@@ -34,6 +34,9 @@ class Plugin(E2EEPlugin):
encryption_short_name = 'b64'
eme_ns = 'urn:xmpps:base64:0'
+ # This encryption mechanism is using <body/> as a container
+ replace_body_with_eme = False
+
def decrypt(self, message: Message, _tab) -> None:
"""
Decrypt base64