diff options
author | Matthew Wild <mwild1@gmail.com> | 2016-01-04 09:14:57 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2016-01-04 09:14:57 +0000 |
commit | 3d0f3a9db092d06daa782135077acfaf9b40b69c (patch) | |
tree | ab26708d42996a414b963a224970995aed5179cc /plugins/mod_bosh.lua | |
parent | 6a39c2064ccd3956857494208013e95515c3d6fd (diff) | |
parent | 3937d883586e89b5dd6c0da332bf290158a6ecb1 (diff) | |
download | prosody-3d0f3a9db092d06daa782135077acfaf9b40b69c.tar.gz prosody-3d0f3a9db092d06daa782135077acfaf9b40b69c.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r-- | plugins/mod_bosh.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index 52974f39..408ed37f 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -295,6 +295,8 @@ function stream_callbacks.streamopened(context, attr) session.log("debug", "BOSH session created for request from %s", session.ip); log("info", "New BOSH session, assigned it sid '%s'", sid); + hosts[session.host].events.fire_event("bosh-session", { session = session, request = request }); + -- Send creation response local creating_session = true; |