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 | 8502b7dc5d7169a43be5dd6fca14417ed39187a4 (patch) | |
tree | ab26708d42996a414b963a224970995aed5179cc /plugins/mod_bosh.lua | |
parent | a49b476d83f97960c80fa860b68073bebf5c5d93 (diff) | |
parent | 768cef78e233f2f613799dba6b525bdf8f7ca75c (diff) | |
download | prosody-8502b7dc5d7169a43be5dd6fca14417ed39187a4.tar.gz prosody-8502b7dc5d7169a43be5dd6fca14417ed39187a4.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; |