diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-09-15 17:38:24 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-09-15 17:38:24 +0100 |
commit | fe9d6a117e60b2045195764ad5bcf7a71427876f (patch) | |
tree | b5bf673785dd4f58a798ac5e6fa9209454aa07fe /plugins/mod_bosh.lua | |
parent | e824455e4038120ea46a4d3e3e07be85b0f516c3 (diff) | |
download | prosody-fe9d6a117e60b2045195764ad5bcf7a71427876f.tar.gz prosody-fe9d6a117e60b2045195764ad5bcf7a71427876f.zip |
mod_bosh: s/xmlns:streams/xmlns:stream/ - fixes #265 (thanks Tim)
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r-- | plugins/mod_bosh.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index e6596b41..834b128a 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -181,7 +181,7 @@ local function bosh_close_stream(session, reason) (session.log or log)("info", "BOSH client disconnected"); local close_reply = st.stanza("body", { xmlns = xmlns_bosh, type = "terminate", - ["xmlns:streams"] = xmlns_streams }); + ["xmlns:stream"] = xmlns_streams }); if reason then @@ -228,7 +228,7 @@ function stream_callbacks.streamopened(request, attr) -- Unknown host log("debug", "BOSH client tried to connect to unknown host: %s", tostring(attr.to)); local close_reply = st.stanza("body", { xmlns = xmlns_bosh, type = "terminate", - ["xmlns:streams"] = xmlns_streams, condition = "host-unknown" }); + ["xmlns:stream"] = xmlns_streams, condition = "host-unknown" }); request:send(tostring(close_reply)); return; end |