diff options
author | matthew <devnull@localhost> | 2008-08-24 14:52:02 +0000 |
---|---|---|
committer | matthew <devnull@localhost> | 2008-08-24 14:52:02 +0000 |
commit | dfe21804fe9558ac19d2327d2cf4ed16267bc3fc (patch) | |
tree | fa5e1bff817fd4c02459b874eb69f602e4de97ca /core | |
parent | 86ea5e7911605e1ff7bb1366d8357449a9139897 (diff) | |
download | prosody-dfe21804fe9558ac19d2327d2cf4ed16267bc3fc.tar.gz prosody-dfe21804fe9558ac19d2327d2cf4ed16267bc3fc.zip |
Presence unavailable on disconnect
Diffstat (limited to 'core')
-rw-r--r-- | core/stanza_dispatch.lua | 2 |
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; |