From 39e756cb35c6d28403bac94e06cef37bf81db043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 13 Oct 2019 13:36:04 +0200 Subject: omemo: Add TODO for unverified state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- plugins/omemo_plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/omemo_plugin.py b/plugins/omemo_plugin.py index 496e0a12..897a1ad6 100644 --- a/plugins/omemo_plugin.py +++ b/plugins/omemo_plugin.py @@ -40,6 +40,8 @@ class Plugin(E2EEPlugin): encrypted_tags = [ (slixmpp_omemo.OMEMO_BASE_NS, 'encrypted'), ] + # TODO: Make "unverified" state depend on a config option that includes it + # either in accepted or rejected states. trust_states = {'accepted': {'verified', 'unverified'}, 'rejected': {'untrusted'}} supported_tab_types = (DynamicConversationTab, StaticConversationTab, MucTab) -- cgit v1.2.3