Mercurial > prosody-hg
diff plugins/mod_bosh.lua @ 5748:cef2a1122b43
mod_bosh, mod_c2s: No longer fire stream-features globally (nobody uses it, and shared modules make it easy for global modules to hook per-host now)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Mon, 15 Jul 2013 11:44:49 +0100 |
| parents | 8de1f9290588 |
| children | bd0ff8ae98a8 |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Mon Jul 15 11:43:23 2013 +0100 +++ b/plugins/mod_bosh.lua Mon Jul 15 11:44:49 2013 +0100 @@ -349,7 +349,6 @@ if session.notopen then local features = st.stanza("stream:features"); hosts[session.host].events.fire_event("stream-features", { origin = session, features = features }); - fire_event("stream-features", session, features); session.send(features); session.notopen = nil; end
