# HG changeset patch # User Kim Alvefur # Date 1546805340 -3600 # Node ID 76cb409db537dc7a57ab7ab3bc48f5d8ee217f48 # Parent 150e9574c149e3e98fbf902833d580fcdb99d03e mod_csi_simple: Consider messages with subject (eg MUC joins) (fixes part of #1250) diff -r 150e9574c149 -r 76cb409db537 plugins/mod_csi_simple.lua --- a/plugins/mod_csi_simple.lua Sun Jan 06 21:09:50 2019 +0100 +++ b/plugins/mod_csi_simple.lua Sun Jan 06 21:09:00 2019 +0100 @@ -73,6 +73,9 @@ if stanza:get_child("body") then return true; end + if stanza:get_child("subject") then + return true; + end return false; end return true;