mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_component: Fire an event on successful component authentication (For Goffi)
This commit is contained in:
parent
b351da9b5f
commit
e92c2042d1
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ function module.add_host(module)
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue