Changeset

7048:b58fd349ddfe

Merge 0.10->trunk
author Matthew Wild <mwild1@gmail.com>
date Mon, 04 Jan 2016 09:14:57 +0000
parents 7046:6b4232125f32 (current diff) 7047:9ca2b720ad43 (diff)
children 7063:bc1b375f379e
files plugins/mod_bosh.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_bosh.lua	Mon Jan 04 09:09:15 2016 +0000
+++ b/plugins/mod_bosh.lua	Mon Jan 04 09:14:57 2016 +0000
@@ -295,6 +295,8 @@
 		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;