MUC: Removed old commented code.

Tue, 26 Jan 2010 02:30:56 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Tue, 26 Jan 2010 02:30:56 +0500
changeset 2504
8b12ee9a5027
parent 2503
bb6b0bd7f2cf
child 2505
0849e349992d

MUC: Removed old commented code.

plugins/muc/muc.lib.lua file | annotate | diff | comparison | revisions
--- 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;
 

mercurial