diff options
author | Kim Alvefur <zash@zash.se> | 2018-02-04 01:40:11 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-02-04 01:40:11 +0100 |
commit | 42f8b3615eb02e7c823055ce186fdb3424165160 (patch) | |
tree | 661dfb5bfa698d4ee4646df7df94ac8c78a984a0 /plugins/mod_component.lua | |
parent | 36da2e1aabdd130123e43060a3e606361299690f (diff) | |
parent | d8d5861feced162f170d17e845f8617031c2097c (diff) | |
download | prosody-42f8b3615eb02e7c823055ce186fdb3424165160.tar.gz prosody-42f8b3615eb02e7c823055ce186fdb3424165160.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_component.lua')
-rw-r--r-- | plugins/mod_component.lua | 3 |
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 |