Software /
code /
prosody
Diff
plugins/mod_bosh.lua @ 7048:b58fd349ddfe
Merge 0.10->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 04 Jan 2016 09:14:57 +0000 |
parent | 6989:118858bf47cd |
parent | 7047:9ca2b720ad43 |
child | 7286:30b9433a9f3e |
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;