Software /
code /
prosody
Changeset
6773:ef22c17cc24d
mod_component: Fire an event on successful component authentication (For Goffi)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 10 Aug 2015 22:13:02 +0200 |
parents | 6743:adf2fdf1264a |
children | 6774:3965662ae091 6797:509b70437035 |
files | plugins/mod_component.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_component.lua Thu Jun 25 17:58:24 2015 +0200 +++ b/plugins/mod_component.lua Mon Aug 10 22:13:02 2015 +0200 @@ -85,6 +85,7 @@ session.type = "component"; module:log("info", "External component successfully authenticated"); session.send(st.stanza("handshake")); + module:fire_event("component-authenticated", { session = session }); return true; end