summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-10-13 13:36:04 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-12-27 18:58:48 +0100
commit39e756cb35c6d28403bac94e06cef37bf81db043 (patch)
tree9d5c43209568589dd270064ac9b520e944486ae8
parent96acbaa13d2cbc008bf29847ded0f24ab8cbfb2c (diff)
downloadpoezio-39e756cb35c6d28403bac94e06cef37bf81db043.tar.gz
poezio-39e756cb35c6d28403bac94e06cef37bf81db043.tar.bz2
poezio-39e756cb35c6d28403bac94e06cef37bf81db043.tar.xz
poezio-39e756cb35c6d28403bac94e06cef37bf81db043.zip
omemo: Add TODO for unverified state
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--plugins/omemo_plugin.py2
1 files changed, 2 insertions, 0 deletions
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)