mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_csi_simple: Clarify what might not be stanzas here
This commit is contained in:
parent
ea91b4cc7b
commit
37a42fa605
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue