Changeset

2504:8b12ee9a5027

MUC: Removed old commented code.
author Waqas Hussain <waqas20@gmail.com>
date Tue, 26 Jan 2010 02:30:56 +0500
parents 2503:bb6b0bd7f2cf
children 2505:0849e349992d
files plugins/muc/muc.lib.lua
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- 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;