Software /
code /
prosody
Diff
plugins/mod_component.lua @ 8518:0de0018bdf91
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 04 Feb 2018 01:40:11 +0100 |
parent | 8235:7d9a2c200736 |
parent | 8508:47115b0ca133 |
child | 8888:cbcac5b9b7ce |
line wrap: on
line diff
--- a/plugins/mod_component.lua Sat Feb 03 17:36:55 2018 +0100 +++ b/plugins/mod_component.lua Sun Feb 04 01:40:11 2018 +0100 @@ -120,7 +120,8 @@ 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