From fe9d6a117e60b2045195764ad5bcf7a71427876f Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 15 Sep 2011 17:38:24 +0100 Subject: mod_bosh: s/xmlns:streams/xmlns:stream/ - fixes #265 (thanks Tim) --- plugins/mod_bosh.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/mod_bosh.lua') 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 -- cgit v1.2.3