aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime “pep” Buquet2019-10-13 11:36:04 (GMT)
committerMaxime “pep” Buquet2019-12-27 17:58:48 (GMT)
commit39e756cb35c6d28403bac94e06cef37bf81db043 (patch)
tree9d5c43209568589dd270064ac9b520e944486ae8
parent96acbaa13d2cbc008bf29847ded0f24ab8cbfb2c (diff)
downloadpoezio-39e756cb35c6d28403bac94e06cef37bf81db043.tar.gz
poezio-39e756cb35c6d28403bac94e06cef37bf81db043.tar.xz
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 496e0a1..897a1ad 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)