Changeset

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
parents 10771:c562edcf51bf
children 10773:3e1046b39484
files plugins/mod_csi_simple.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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)