Description: do not handle "normal" messages (unencrypted)
Author: Philipp Hörist (upstream code), W. Martin Borgert (Debian patch)
Origin: upstream
Bug: https://dev.gajim.org/gajim/gajim-plugins/issues/182
Applied-Upstream: 59baed68
Last-Update: 2017-04-09
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/omemoplugin.py
+++ b/omemoplugin.py
@@ -617,6 +617,9 @@
             -------
             Return if encryption is not activated
         """
+        if event.type_ == 'normal':
+            return False
+
         account = event.account
         if account in self.disabled_accounts:
             return
