Software /
code /
prosody
Changeset
8188:8c524b7c9017
mod_disco: Advertise in stream-features after auth (probably what was meant in 200f1f6306a7) (fixes #957)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 27 Jul 2017 14:10:18 +0200 |
parents | 8187:4d83876aac3e |
children | 8189:a3565d7dd304 |
files | plugins/mod_disco.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_disco.lua Fri Jul 21 00:07:34 2017 +0200 +++ b/plugins/mod_disco.lua Thu Jul 27 14:10:18 2017 +0200 @@ -148,7 +148,7 @@ -- Handle caps stream feature module:hook("stream-features", function (event) - if event.origin.type == "c2s" or event.origin.type == "c2s_unauthed" then + if event.origin.type == "c2s" or event.origin.type == "c2s_unbound" then event.features:add_child(get_server_caps_feature()); end end);