Software /
code /
prosody
Diff
core/sessionmanager.lua @ 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 |
parent | 2591:d540a75a11db |
child | 2621:4d0f9f50fdd8 |
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);