aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/stanza_dispatch.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/stanza_dispatch.lua b/core/stanza_dispatch.lua
index 5f61f5fb..2c835517 100644
--- a/core/stanza_dispatch.lua
+++ b/core/stanza_dispatch.lua
@@ -106,7 +106,7 @@ function init_stanza_dispatcher(session)
--local probe = st.presence { from = broadcast.attr.from, type = "probe" };
for child in stanza:childtags() do
- broadcast:text(tostring(child));
+ broadcast:add_child(child);
end
for contact_jid in pairs(session.roster) do
broadcast.attr.to = contact_jid;