aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_component.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-02-04 01:40:11 +0100
committerKim Alvefur <zash@zash.se>2018-02-04 01:40:11 +0100
commit8aa6920ff52a1ab6191514a164deded4956748f6 (patch)
tree661dfb5bfa698d4ee4646df7df94ac8c78a984a0 /plugins/mod_component.lua
parent76ba5218c221ae8d58edddf8b4097966f2e18180 (diff)
parentcf7486984a083cbe6653063814aa893dcae20054 (diff)
downloadprosody-8aa6920ff52a1ab6191514a164deded4956748f6.tar.gz
prosody-8aa6920ff52a1ab6191514a164deded4956748f6.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_component.lua')
-rw-r--r--plugins/mod_component.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua
index 33b1852b..46db31b6 100644
--- a/plugins/mod_component.lua
+++ b/plugins/mod_component.lua
@@ -120,7 +120,8 @@ function module.add_host(module)
local name = module:get_option_string("name");
if name then
event.origin.send(st.reply(stanza):tag("query", { xmlns = "http://jabber.org/protocol/disco#info" })
- :tag("identity", { category = "component", type = "generic", name = module:get_option_string("name", "Prosody") }))
+ :tag("identity", { category = "component", type = "generic", name = module:get_option_string("name", "Prosody") })):up()
+ :tag("feature", { var = "http://jabber.org/protocol/disco#info" }):up()
return true;
end
end