# HG changeset patch # User Matthew Wild # Date 1316104704 -3600 # Node ID e4d88f4a780c15a5a58bd613774fedad1218ecb3 # Parent 5e1f4af116266d7832d46797fb29316b7053c1d0 mod_bosh: s/xmlns:streams/xmlns:stream/ - fixes #265 (thanks Tim) diff -r 5e1f4af11626 -r e4d88f4a780c plugins/mod_bosh.lua --- a/plugins/mod_bosh.lua Sat Sep 03 15:44:05 2011 -0400 +++ b/plugins/mod_bosh.lua Thu Sep 15 17:38:24 2011 +0100 @@ -181,7 +181,7 @@ (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 @@ -- 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