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
commit0085d410b206f1899a2841064a798eac2161d764 (patch)
treea80ba97cf37cd95120fa9fcf4dec2bfa790b6389 /plugins
parent37a42fa6052f1b55cae4728a71f1bfbdf7743630 (diff)
downloadprosody-0085d410b206f1899a2841064a798eac2161d764.tar.gz
prosody-0085d410b206f1899a2841064a798eac2161d764.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)