aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_csi_simple.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-04-26 11:13:25 +0200
committerKim Alvefur <zash@zash.se>2020-04-26 11:13:25 +0200
commit4fe295898ae6c43553914ab14ae3148852e22aa8 (patch)
tree9743740bf3e2895480216df6a22d342d291d7e52 /plugins/mod_csi_simple.lua
parentba0fe2779ae0826e8cb5a3f31e319d7f30e9f8e5 (diff)
downloadprosody-4fe295898ae6c43553914ab14ae3148852e22aa8.tar.gz
prosody-4fe295898ae6c43553914ab14ae3148852e22aa8.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.lua1
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