projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
557c8dd
)
mod_bosh: Fix global write
author
Matthew Wild
<mwild1@gmail.com>
Fri, 7 Jun 2013 16:47:27 +0000
(17:47 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Fri, 7 Jun 2013 16:47:27 +0000
(17:47 +0100)
plugins/mod_bosh.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_bosh.lua
b/plugins/mod_bosh.lua
index 936cb7b57e8ba3e9a44fd2ef1db1708c7c74c0db..f2b7f458e0dc87549e0b266a7b3e8b03471e50b3 100644
(file)
--- a/
plugins/mod_bosh.lua
+++ b/
plugins/mod_bosh.lua
@@
-292,7
+292,8
@@
function stream_callbacks.streamopened(context, attr)
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