# HG changeset patch # User Kim Alvefur # Date 1543341382 -3600 # Node ID dfebf6cac027aa76fe70687cb56bbe29eebd66eb # Parent cc642c9c5ad59e2320341f390a3a010e340781e7 mod_csi_simple: Don't set stamps on stanzas (fixes #1248) diff -r cc642c9c5ad5 -r dfebf6cac027 plugins/mod_csi_simple.lua --- a/plugins/mod_csi_simple.lua Mon Nov 26 19:48:07 2018 +0100 +++ b/plugins/mod_csi_simple.lua Tue Nov 27 18:56:22 2018 +0100 @@ -85,7 +85,7 @@ pump:flush(); send(stanza); else - if st.is_stanza(stanza) then + if st.is_stanza(stanza) and st.attr.xmlns == nil and st.name ~= "iq" then stanza = st.clone(stanza); stanza:add_direct_child(st.stanza("delay", {xmlns = "urn:xmpp:delay", from = bare_jid, stamp = dt.datetime()})); end