Changeset

2467:8098310d0dfd

mod_bosh: Update for new xmlhandlers syntax
author Matthew Wild <mwild1@gmail.com>
date Tue, 19 Jan 2010 03:57:19 +0000
parents 2466:0e44b6035210
children 2468:68bb1cc1a8b0
files plugins/mod_bosh.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;