From 0b8360b9a110abb2915a19774af49137205310cb Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Tue, 22 Sep 2009 00:38:06 +0500 Subject: MUC: Added MUC feature to the disco#info replies of rooms. --- plugins/muc/muc.lib.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 6d74c7ba..fb72a9e3 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -187,7 +187,9 @@ function room_mt:send_history(to) end local function room_get_disco_info(self, stanza) - return st.reply(stanza):query("http://jabber.org/protocol/disco#info"):tag("identity", {category="conference", type="text"}); + return st.reply(stanza):query("http://jabber.org/protocol/disco#info") + :tag("identity", {category="conference", type="text"}):up() + :tag("feature", {var="http://jabber.org/protocol/muc"}); end local function room_get_disco_items(self, stanza) return st.reply(stanza):query("http://jabber.org/protocol/disco#items"); -- cgit v1.2.3