# HG changeset patch # User Kim Alvefur # Date 1546805372 -3600 # Node ID bf92f37de13719f1f8657ff9e35f792ddb0cad11 # Parent 76cb409db537dc7a57ab7ab3bc48f5d8ee217f48 mod_csi_simple: Consider messages encrypted payload as important (fixes part of #1250) diff -r 76cb409db537 -r bf92f37de137 plugins/mod_csi_simple.lua --- a/plugins/mod_csi_simple.lua Sun Jan 06 21:09:00 2019 +0100 +++ b/plugins/mod_csi_simple.lua Sun Jan 06 21:09:32 2019 +0100 @@ -76,6 +76,9 @@ 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;