e2ee-api: update b64 plugin with latest changes

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-06-28 00:21:21 +02:00
parent 29a4ea389f
commit 812d9485e3

View file

@ -34,6 +34,9 @@ class Plugin(E2EEPlugin):
encryption_short_name = 'b64' encryption_short_name = 'b64'
eme_ns = 'urn:xmpps:base64:0' 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: def decrypt(self, message: Message, _tab) -> None:
""" """
Decrypt base64 Decrypt base64