aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-12-15 07:03:52 +0100
committerKim Alvefur <zash@zash.se>2016-12-15 07:03:52 +0100
commitaedd689b72629139390f23f4fbd002307d3a0fec (patch)
tree9d3cee3ae98b7b0eefe93cb64f207138b77f1121
parent2c7554d63405a862ae1681c52b24de1efe350a96 (diff)
downloadprosody-aedd689b72629139390f23f4fbd002307d3a0fec.tar.gz
prosody-aedd689b72629139390f23f4fbd002307d3a0fec.zip
mod_disco: Update to account for new intermediate session type (from 9f70d35a1602)
-rw-r--r--plugins/mod_disco.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_disco.lua b/plugins/mod_disco.lua
index 61749580..c9d4a9df 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" then
+ if event.origin.type == "c2s" or event.origin.type == "c2s_unauthed" then
event.features:add_child(get_server_caps_feature());
end
end);