# HG changeset patch # User Matthew Wild # Date 1536852546 -3600 # Node ID 1856c3aae92dd277a46909f4d14db98f4f71f686 # Parent 36a9170352b5e3f9928e68bd1b9f368bca2fe08b mod_blocking: Update to set id attribute on iq stanza diff -r 36a9170352b5 -r 1856c3aae92d mod_blocking/mod_blocking.lua --- a/mod_blocking/mod_blocking.lua Thu Sep 13 16:28:10 2018 +0100 +++ b/mod_blocking/mod_blocking.lua Thu Sep 13 16:29:06 2018 +0100 @@ -113,7 +113,7 @@ end for resource, session in pairs(prosody.bare_sessions[bare_jid].sessions) do - local iq_push_stanza = st.iq({ type = "set", to = bare_jid.."/"..resource }); + local iq_push_stanza = st.iq({ type = "set", to = bare_jid.."/"..resource, id = "blocking-push" }); iq_push_stanza:add_child(stanza_content); session.send(iq_push_stanza); end