# HG changeset patch # User Matthew Wild # Date 1263873439 0 # Node ID 8098310d0dfd3b14e08ad7fa11adcc0f4bfa5c4b # Parent 0e44b6035210375ff853d2f8442594b36ece2ae4 mod_bosh: Update for new xmlhandlers syntax diff -r 0e44b6035210 -r 8098310d0dfd plugins/mod_bosh.lua --- a/plugins/mod_bosh.lua Tue Jan 19 03:56:44 2010 +0000 +++ b/plugins/mod_bosh.lua Tue Jan 19 03:57:19 2010 +0000 @@ -23,7 +23,7 @@ local log = logger.init("mod_bosh"); local xmlns_bosh = "http://jabber.org/protocol/httpbind"; -- (hard-coded into a literal in session.send) -local stream_callbacks = { stream_tag = "http://jabber.org/protocol/httpbind\1body", default_ns = xmlns_bosh }; +local stream_callbacks = { stream_ns = "http://jabber.org/protocol/httpbind", stream_tag = "body", default_ns = xmlns_bosh }; local BOSH_DEFAULT_HOLD = tonumber(module:get_option("bosh_default_hold")) or 1; local BOSH_DEFAULT_INACTIVITY = tonumber(module:get_option("bosh_max_inactivity")) or 60;