# HG changeset patch # User Kim Alvefur # Date 1587892405 -7200 # Node ID c562edcf51bf15b35f1aeb6095c86406a3e96ed5 # Parent b4cbe72966c9221c6c81c54a5b502e5683a2586c mod_csi_simple: Clarify what might not be stanzas here diff -r b4cbe72966c9 -r c562edcf51bf plugins/mod_csi_simple.lua --- a/plugins/mod_csi_simple.lua Sun Apr 26 11:13:01 2020 +0200 +++ b/plugins/mod_csi_simple.lua Sun Apr 26 11:13:25 2020 +0200 @@ -18,6 +18,7 @@ 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