# HG changeset patch # User Kim Alvefur # Date 1501157418 -7200 # Node ID 8c524b7c9017ba04c993d9e086ce580db230d5f2 # Parent 4d83876aac3ecde3aae5bb94795e869bf2fbb8ac mod_disco: Advertise in stream-features after auth (probably what was meant in 200f1f6306a7) (fixes #957) diff -r 4d83876aac3e -r 8c524b7c9017 plugins/mod_disco.lua --- 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);