From fdb5baeb0c1db6dcd2a97fed7eb4037008660119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Thu, 27 Jun 2019 15:18:29 +0200 Subject: e2ee-api: add comment on tag_whitelist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/plugin_e2ee.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'poezio/plugin_e2ee.py') diff --git a/poezio/plugin_e2ee.py b/poezio/plugin_e2ee.py index eec2af63..e0a28dba 100644 --- a/poezio/plugin_e2ee.py +++ b/poezio/plugin_e2ee.py @@ -41,6 +41,10 @@ class E2EEPlugin(BasePlugin): stanza_encryption = False # Whitelist applied to messages when `stanza_encryption` is False. + # This might need to be changed depending on the encryption mechanism. + # Some encrypt directly content in for example, some use a + # different element like and thus is a generic EME + # message. tag_whitelist = list(map(lambda x: '{%s}%s' % (x[0], x[1]), [ (JCLIENT_NS, 'body'), (EME_NS, EME_TAG), -- cgit v1.2.3