[omemo] Dont handle type 'normal' messages
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user