diff options
author | Kim Alvefur <zash@zash.se> | 2020-04-26 11:40:48 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-04-26 11:40:48 +0200 |
commit | 0085d410b206f1899a2841064a798eac2161d764 (patch) | |
tree | a80ba97cf37cd95120fa9fcf4dec2bfa790b6389 /plugins/mod_csi_simple.lua | |
parent | 37a42fa6052f1b55cae4728a71f1bfbdf7743630 (diff) | |
download | prosody-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/mod_csi_simple.lua')
-rw-r--r-- | plugins/mod_csi_simple.lua | 3 |
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) |