diff options
-rw-r--r-- | poezio/plugin_e2ee.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/plugin_e2ee.py b/poezio/plugin_e2ee.py index bcaba5e3..e9593777 100644 --- a/poezio/plugin_e2ee.py +++ b/poezio/plugin_e2ee.py @@ -368,7 +368,7 @@ class E2EEPlugin(BasePlugin): return None async def _encrypt(self, stanza: StanzaBase) -> Optional[StanzaBase]: - if not isinstance(stanza, Message) or stanza['type'] not in ('chat', 'groupchat'): + if not isinstance(stanza, Message) or stanza['type'] not in ('normal', 'chat', 'groupchat'): raise NothingToEncrypt() message = stanza |