Diff

plugins/mod_csi_simple.lua @ 9770:76cb409db537 0.11

mod_csi_simple: Consider messages with subject (eg MUC joins) (fixes part of #1250)
author Kim Alvefur <zash@zash.se>
date Sun, 06 Jan 2019 21:09:00 +0100
parent 9769:150e9574c149
child 9771:bf92f37de137
line wrap: on
line diff
--- 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;