# HG changeset patch # User Waqas Hussain # Date 1265928545 -18000 # Node ID c3fe88d4b921b8c8b04189b6ed393e1906e0255f # Parent ade70495fe7f4fc270a89dbe65016e943067ec93 sessionmanager: Fire stream-features event using new events API. diff -r ade70495fe7f -r c3fe88d4b921 core/sessionmanager.lua --- 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);