aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
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
commit8502b7dc5d7169a43be5dd6fca14417ed39187a4 (patch)
treeab26708d42996a414b963a224970995aed5179cc /plugins/mod_bosh.lua
parenta49b476d83f97960c80fa860b68073bebf5c5d93 (diff)
parent768cef78e233f2f613799dba6b525bdf8f7ca75c (diff)
downloadprosody-8502b7dc5d7169a43be5dd6fca14417ed39187a4.tar.gz
prosody-8502b7dc5d7169a43be5dd6fca14417ed39187a4.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_bosh.lua')
-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;