Software /
code /
prosody
Changeset
10771:c562edcf51bf
mod_csi_simple: Clarify what might not be stanzas here
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 Apr 2020 11:13:25 +0200 |
parents | 10770:b4cbe72966c9 |
children | 10772:31e702c5f475 |
files | plugins/mod_csi_simple.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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