diff options
author | Philipp Hörist <forenjunkie@chello.at> | 2017-03-01 00:19:50 +0300 |
---|---|---|
committer | Philipp Hörist <forenjunkie@chello.at> | 2017-03-01 00:19:50 +0300 |
commit | 11fb760a4df23f63a78cb63de565b54ae9a75556 (patch) | |
tree | 55e928e1017018314abf9acfd1712c9a877536eb /omemo | |
parent | bc2731364b13427355fb5188138be89ec7ad7bc7 (diff) |
[omemo] Dont handle type 'normal' messages
Diffstat (limited to 'omemo')
-rw-r--r-- | omemo/omemoplugin.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/omemo/omemoplugin.py b/omemo/omemoplugin.py index 45ce5bb..8b4a71b 100644 --- a/omemo/omemoplugin.py +++ b/omemo/omemoplugin.py @@ -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 |