Commit 11fb760a authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[omemo] Dont handle type 'normal' messages

parent bc273136
...@@ -589,6 +589,9 @@ class OmemoPlugin(GajimPlugin): ...@@ -589,6 +589,9 @@ class OmemoPlugin(GajimPlugin):
------- -------
Return if encryption is not activated Return if encryption is not activated
""" """
if event.type_ == 'normal':
return False
account = event.account account = event.account
if account in self.disabled_accounts: if account in self.disabled_accounts:
return return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment