# HG changeset patch # User Kim Alvefur # Date 1587894048 -7200 # Node ID 31e702c5f475abbbc2a846c661bdd23034a5b07a # Parent c562edcf51bf15b35f1aeb6095c86406a3e96ed5 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. diff -r c562edcf51bf -r 31e702c5f475 plugins/mod_csi_simple.lua --- 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)