Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/omemo
diff options
context:
space:
mode:
authorPhilipp Hörist <forenjunkie@chello.at>2017-03-01 00:19:50 +0300
committerPhilipp Hörist <forenjunkie@chello.at>2017-03-01 00:19:50 +0300
commit11fb760a4df23f63a78cb63de565b54ae9a75556 (patch)
tree55e928e1017018314abf9acfd1712c9a877536eb /omemo
parentbc2731364b13427355fb5188138be89ec7ad7bc7 (diff)
[omemo] Dont handle type 'normal' messages
Diffstat (limited to 'omemo')
-rw-r--r--omemo/omemoplugin.py3
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