Changeset

2606:c3fe88d4b921

sessionmanager: Fire stream-features event using new events API.
author Waqas Hussain <waqas20@gmail.com>
date Fri, 12 Feb 2010 03:49:05 +0500
parents 2605:ade70495fe7f
children 2607:35a5d1c5ea28
files core/sessionmanager.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/core/sessionmanager.lua	Fri Feb 12 03:46:48 2010 +0500
+++ b/core/sessionmanager.lua	Fri Feb 12 03:49:05 2010 +0500
@@ -190,6 +190,7 @@
 	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);