From e03098631f29c17d0ae3eb217d90cae1219f45ef Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 6 Jan 2019 21:09:00 +0100 Subject: mod_csi_simple: Consider messages with subject (eg MUC joins) (fixes part of #1250) --- plugins/mod_csi_simple.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/mod_csi_simple.lua') diff --git a/plugins/mod_csi_simple.lua b/plugins/mod_csi_simple.lua index cf03ef48..da6f4913 100644 --- a/plugins/mod_csi_simple.lua +++ b/plugins/mod_csi_simple.lua @@ -73,6 +73,9 @@ module:hook("csi-is-stanza-important", function (event) if stanza:get_child("body") then return true; end + if stanza:get_child("subject") then + return true; + end return false; end return true; -- cgit v1.2.3