# HG changeset patch # User Waqas Hussain # Date 1264455056 -18000 # Node ID 8b12ee9a502739ca024362036e254079e8b2e1af # Parent bb6b0bd7f2cfac5e92353f1d9c14aec4da8fcece MUC: Removed old commented code. diff -r bb6b0bd7f2cf -r 8b12ee9a5027 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Tue Jan 26 02:29:32 2010 +0500 +++ b/plugins/muc/muc.lib.lua Tue Jan 26 02:30:56 2010 +0500 @@ -89,17 +89,6 @@ local function getText(stanza, path) return getUsingPath(stanza, path, true); end ----------- ---[[function get_room_disco_info(room, stanza) - return st.iq({type='result', id=stanza.attr.id, from=stanza.attr.to, to=stanza.attr.from}):query("http://jabber.org/protocol/disco#info") - :tag("identity", {category='conference', type='text', name=room._data["name"]):up() - :tag("feature", {var="http://jabber.org/protocol/muc"}); -- TODO cache disco reply -end -function get_room_disco_items(room, stanza) - return st.iq({type='result', id=stanza.attr.id, from=stanza.attr.to, to=stanza.attr.from}):query("http://jabber.org/protocol/disco#items"); -end -- TODO allow non-private rooms]] - --- - local room_mt = {}; room_mt.__index = room_mt;