# HG changeset patch # User Matthew Wild # Date 1370623647 -3600 # Node ID 9218a0e81a412d40ccf941e9b9f9abb82fba5478 # Parent da1881e1b35b483236119114b95144d6e838453e mod_bosh: Fix global write diff -r da1881e1b35b -r 9218a0e81a41 plugins/mod_bosh.lua --- a/plugins/mod_bosh.lua Mon Jun 10 14:35:35 2013 +0200 +++ b/plugins/mod_bosh.lua Fri Jun 07 17:47:27 2013 +0100 @@ -292,7 +292,8 @@ body_attr.hold = tostring(session.bosh_hold); body_attr.authid = sid; body_attr.secure = "true"; - body_attr.ver = '1.6'; from = session.host; + body_attr.ver = '1.6'; + body_attr.from = session.host; body_attr["xmlns:xmpp"] = "urn:xmpp:xbosh"; body_attr["xmpp:version"] = "1.0"; end