# HG changeset patch # User JC Brand # Date 1602518645 -7200 # Node ID e2728b5402233ef8c9c3785d85fc0c282ad346fb # Parent e06258fc6cf109026e10ba482981a55489abd5bc# Parent 22e7b3d6fcaefaa5da05c22aacb7c07f58ae356e Merge diff -r 22e7b3d6fcae -r e2728b540223 mod_muc_batched_probe/mod_muc_batched_probe.lua --- a/mod_muc_batched_probe/mod_muc_batched_probe.lua Mon Oct 12 17:56:10 2020 +0200 +++ b/mod_muc_batched_probe/mod_muc_batched_probe.lua Mon Oct 12 18:04:05 2020 +0200 @@ -11,7 +11,6 @@ module:log("debug", "Module loaded"); - local function respondToBatchedProbe(event) local stanza = event.stanza; if stanza.attr.type ~= "get" then @@ -38,11 +37,10 @@ if pr then room:route_stanza(pr); end - return; + else + local x = st.stanza("x", {xmlns = "http://jabber.org/protocol/muc#user"}); + room:publicise_occupant_status(probed_occupant, x, nil, nil, nil, nil, false, probing_occupant); end - local x = st.stanza("x", {xmlns = "http://jabber.org/protocol/muc#user"}); - room:publicise_occupant_status(probed_occupant, x, nil, nil, nil, nil, false, probing_occupant); - end origin.send(st.reply(stanza)); return true;