From 3b8d96984acfd884620fd6549689b5ff419108fe Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 6 Jan 2019 21:09:32 +0100 Subject: [PATCH] mod_csi_simple: Consider messages encrypted payload as important (fixes part of #1250) --- plugins/mod_csi_simple.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/mod_csi_simple.lua b/plugins/mod_csi_simple.lua index da6f4913..da2dd953 100644 --- a/plugins/mod_csi_simple.lua +++ b/plugins/mod_csi_simple.lua @@ -76,6 +76,9 @@ module:hook("csi-is-stanza-important", function (event) if stanza:get_child("subject") then return true; end + if stanza:get_child("encryption", "urn:xmpp:eme:0") then + return true; + end return false; end return true; -- 2.11.4.GIT