Changeset

4007:845d13ab0dc0

mod_muc_batched_probe: Call instance method
author JC Brand <jc@opkode.com>
date Fri, 01 May 2020 11:34:09 +0200
parents 4000:d56b3c0195a8
children 4008:ec9011df2dc6
files mod_muc_batched_probe/mod_muc_batched_probe.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_muc_batched_probe/mod_muc_batched_probe.lua	Wed Apr 29 13:00:22 2020 +0200
+++ b/mod_muc_batched_probe/mod_muc_batched_probe.lua	Fri May 01 11:34:09 2020 +0200
@@ -23,7 +23,7 @@
 	end;
 
 	local room = get_room_from_jid(stanza.attr.to);
-	for item in query.get_children() do
+	for item in query:children() do
 		local probed_jid = item.attr.jid;
 		room:respond_to_probe(stanza.attr.from, probed_jid);
 	end