# HG changeset patch # User Waqas Hussain # Date 1253561886 -18000 # Node ID e164fdb2d18f9fadb5d1fc964b58c24eb4ea690a # Parent 3bb0e5170692a8acdeff7271e158ccc01086b5a7 MUC: Added MUC feature to the disco#info replies of rooms. diff -r 3bb0e5170692 -r e164fdb2d18f plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Mon Sep 21 14:46:12 2009 +0100 +++ b/plugins/muc/muc.lib.lua Tue Sep 22 00:38:06 2009 +0500 @@ -187,7 +187,9 @@ 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");