Diff

plugins/mod_csi_simple.lua @ 10772:31e702c5f475

mod_csi_simple: Explicitly mention iq stanzas Should be more obvious that all iq stanzas are considered important. Changes behavior for invalid things in the default namespace.
author Kim Alvefur <zash@zash.se>
date Sun, 26 Apr 2020 11:40:48 +0200
parent 10771:c562edcf51bf
child 10801:2b97aac0ea3c
line wrap: on
line diff
--- a/plugins/mod_csi_simple.lua	Sun Apr 26 11:13:25 2020 +0200
+++ b/plugins/mod_csi_simple.lua	Sun Apr 26 11:40:48 2020 +0200
@@ -65,8 +65,9 @@
 			end
 		end
 		return false;
+	elseif st_name == "iq" then
+		return true;
 	end
-	return true;
 end, -1);
 
 local function with_timestamp(stanza, from)