aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-04-26 11:40:48 +0200
committerKim Alvefur <zash@zash.se>2020-04-26 11:40:48 +0200
commit99d495680bbc684dbca519f94d069c1dd92e223c (patch)
treea80ba97cf37cd95120fa9fcf4dec2bfa790b6389 /plugins
parent4fe295898ae6c43553914ab14ae3148852e22aa8 (diff)
downloadprosody-99d495680bbc684dbca519f94d069c1dd92e223c.tar.gz
prosody-99d495680bbc684dbca519f94d069c1dd92e223c.zip
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.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_csi_simple.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_csi_simple.lua b/plugins/mod_csi_simple.lua
index bfbcd029..d3bf3a9f 100644
--- a/plugins/mod_csi_simple.lua
+++ b/plugins/mod_csi_simple.lua
@@ -65,8 +65,9 @@ module:hook("csi-is-stanza-important", function (event)
end
end
return false;
+ elseif st_name == "iq" then
+ return true;
end
- return true;
end, -1);
local function with_timestamp(stanza, from)