aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-02-12 03:49:05 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-02-12 03:49:05 +0500
commit8946ed6f6cb099e9517d3fa66368fb818223197c (patch)
treea02e8eaa069be676a326d419cc7230f5234433ef /core/sessionmanager.lua
parent75459a7ca582d15834d944927bc2d12711403220 (diff)
downloadprosody-8946ed6f6cb099e9517d3fa66368fb818223197c.tar.gz
prosody-8946ed6f6cb099e9517d3fa66368fb818223197c.zip
sessionmanager: Fire stream-features event using new events API.
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r--core/sessionmanager.lua1
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);