diff options
author | Kim Alvefur <zash@zash.se> | 2020-04-26 11:13:25 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-04-26 11:13:25 +0200 |
commit | 37a42fa6052f1b55cae4728a71f1bfbdf7743630 (patch) | |
tree | 9743740bf3e2895480216df6a22d342d291d7e52 /plugins/mod_csi_simple.lua | |
parent | ea91b4cc7bdc77c297fdd7c0d4b0eb9c8bbfd276 (diff) | |
download | prosody-37a42fa6052f1b55cae4728a71f1bfbdf7743630.tar.gz prosody-37a42fa6052f1b55cae4728a71f1bfbdf7743630.zip |
mod_csi_simple: Clarify what might not be stanzas here
Diffstat (limited to 'plugins/mod_csi_simple.lua')
-rw-r--r-- | plugins/mod_csi_simple.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_csi_simple.lua b/plugins/mod_csi_simple.lua index e509bef8..bfbcd029 100644 --- a/plugins/mod_csi_simple.lua +++ b/plugins/mod_csi_simple.lua @@ -18,6 +18,7 @@ local important_payloads = module:get_option_set("csi_important_payloads", { }); module:hook("csi-is-stanza-important", function (event) local stanza = event.stanza; if not st.is_stanza(stanza) then + -- whitespace pings etc return true; end if stanza.attr.xmlns ~= nil then |