diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-02-12 03:49:05 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-02-12 03:49:05 +0500 |
commit | 8946ed6f6cb099e9517d3fa66368fb818223197c (patch) | |
tree | a02e8eaa069be676a326d419cc7230f5234433ef | |
parent | 75459a7ca582d15834d944927bc2d12711403220 (diff) | |
download | prosody-8946ed6f6cb099e9517d3fa66368fb818223197c.tar.gz prosody-8946ed6f6cb099e9517d3fa66368fb818223197c.zip |
sessionmanager: Fire stream-features event using new events API.
-rw-r--r-- | core/sessionmanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 3122c7b5..a617d2ca 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -190,6 +190,7 @@ function streamopened(session, attr) end local features = st.stanza("stream:features"); + hosts[session.host].events.fire_event("stream-features", { origin = session, features = features }); fire_event("stream-features", session, features); send(features); |