Software /
code /
prosody
Changeset
5670:9218a0e81a41
mod_bosh: Fix global write
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 07 Jun 2013 17:47:27 +0100 |
parents | 5665:da1881e1b35b |
children | 5671:d5059e73db53 |
files | plugins/mod_bosh.lua |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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