--- a/mod_muc_batched_probe/mod_muc_batched_probe.lua Mon Oct 12 13:21:16 2020 +0200
+++ b/mod_muc_batched_probe/mod_muc_batched_probe.lua Mon Oct 12 18:01:54 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;