# HG changeset patch # User Matthew Wild # Date 1451898897 0 # Node ID b58fd349ddfe3434a54b496078be8bc89ba4bc1d # Parent 6b4232125f3202ceb7d25d083b1727c96d8a0c71# Parent 9ca2b720ad433ece3f61c4d75f612fe761023f55 Merge 0.10->trunk diff -r 6b4232125f32 -r b58fd349ddfe plugins/mod_bosh.lua --- 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;