aboutsummaryrefslogtreecommitdiffstats
path: root/core/stanza_dispatch.lua
diff options
context:
space:
mode:
authormatthew <devnull@localhost>2008-08-24 14:52:02 +0000
committermatthew <devnull@localhost>2008-08-24 14:52:02 +0000
commitdfe21804fe9558ac19d2327d2cf4ed16267bc3fc (patch)
treefa5e1bff817fd4c02459b874eb69f602e4de97ca /core/stanza_dispatch.lua
parent86ea5e7911605e1ff7bb1366d8357449a9139897 (diff)
downloadprosody-dfe21804fe9558ac19d2327d2cf4ed16267bc3fc.tar.gz
prosody-dfe21804fe9558ac19d2327d2cf4ed16267bc3fc.zip
Presence unavailable on disconnect
Diffstat (limited to 'core/stanza_dispatch.lua')
-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;