aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2016-01-04 09:14:57 +0000
committerMatthew Wild <mwild1@gmail.com>2016-01-04 09:14:57 +0000
commit3d0f3a9db092d06daa782135077acfaf9b40b69c (patch)
treeab26708d42996a414b963a224970995aed5179cc
parent6a39c2064ccd3956857494208013e95515c3d6fd (diff)
parent3937d883586e89b5dd6c0da332bf290158a6ecb1 (diff)
downloadprosody-3d0f3a9db092d06daa782135077acfaf9b40b69c.tar.gz
prosody-3d0f3a9db092d06daa782135077acfaf9b40b69c.zip
Merge 0.10->trunk
-rw-r--r--plugins/mod_bosh.lua2
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;