summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/omemo_plugin.py4
-rw-r--r--poezio/plugin_e2ee.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/omemo_plugin.py b/plugins/omemo_plugin.py
index 538be98e..8af2402d 100644
--- a/plugins/omemo_plugin.py
+++ b/plugins/omemo_plugin.py
@@ -39,8 +39,8 @@ class Plugin(E2EEPlugin):
encrypted_tags = [
(slixmpp_omemo.OMEMO_BASE_NS, 'encrypted'),
]
- trust_state = {'accepted': {'verified', 'unverified'}, 'rejected': {'untrusted'}}
- supported_tab_types = [DynamicConversationTab, StaticConversationTab, MucTab]
+ trust_states = {'accepted': {'verified', 'unverified'}, 'rejected': {'untrusted'}}
+ supported_tab_types = (DynamicConversationTab, StaticConversationTab, MucTab)
def init(self) -> None:
super().init()
diff --git a/poezio/plugin_e2ee.py b/poezio/plugin_e2ee.py
index 8206dc4a..2e982baf 100644
--- a/poezio/plugin_e2ee.py
+++ b/poezio/plugin_e2ee.py
@@ -117,7 +117,7 @@ class E2EEPlugin(BasePlugin):
_enabled_tabs = {} # type: Dict[JID, Callable]
# Tabs that support this encryption mechanism
- supported_tab_types = [] # type: List[ChatTabs]
+ supported_tab_types = tuple() # type: Tuple[ChatTabs]
# States for each remote entity
trust_states = {'accepted': set(), 'rejected': set()} # type: Dict[str, Set[str]]