[omemo] Dont handle type 'normal' messages

This commit is contained in:
Philipp Hörist
2017-02-28 22:19:50 +01:00
parent bc2731364b
commit 11fb760a4d

View File

@@ -589,6 +589,9 @@ class OmemoPlugin(GajimPlugin):
-------
Return if encryption is not activated
"""
if event.type_ == 'normal':
return False
account = event.account
if account in self.disabled_accounts:
return