From 46863c65b32369fc20ba920d46a5f4fd27293ad8 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 27 Jul 2017 14:10:18 +0200 Subject: mod_disco: Advertise in stream-features after auth (probably what was meant in 200f1f6306a7) (fixes #957) --- plugins/mod_disco.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_disco.lua b/plugins/mod_disco.lua index 10eb632d..cd07934f 100644 --- a/plugins/mod_disco.lua +++ b/plugins/mod_disco.lua @@ -148,7 +148,7 @@ end); -- 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); -- cgit v1.2.3