plugins/mod_csi_simple.lua
branch0.11
changeset 9652 dfebf6cac027
parent 9648 e31547ab1ca2
child 9653 a20849226598
--- 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