diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-07-15 11:44:49 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-07-15 11:44:49 +0100 |
commit | 2cdcc29777dea1688b964a9ad61dc17e0ccdb059 (patch) | |
tree | e26f94300610cdd9fb171246b1ab20213209218e /plugins | |
parent | 94a868c6a57a25282b154912166047642c4a7a9c (diff) | |
download | prosody-2cdcc29777dea1688b964a9ad61dc17e0ccdb059.tar.gz prosody-2cdcc29777dea1688b964a9ad61dc17e0ccdb059.zip |
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)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_bosh.lua | 1 | ||||
-rw-r--r-- | plugins/mod_c2s.lua | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index d8717d18..d109547e 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -349,7 +349,6 @@ function stream_callbacks.streamopened(context, attr) 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 diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua index 91bde574..d667e781 100644 --- a/plugins/mod_c2s.lua +++ b/plugins/mod_c2s.lua @@ -79,8 +79,6 @@ function stream_callbacks.streamopened(session, attr) local features = st.stanza("stream:features"); hosts[session.host].events.fire_event("stream-features", { origin = session, features = features }); - module:fire_event("stream-features", session, features); - send(features); end |