aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-01-26 02:30:56 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-01-26 02:30:56 +0500
commita44cc062d203e1e7d00e8b8c10ff15a0ac977024 (patch)
tree2a43d48a555fbc868c877284accbbae4e8022224
parent27eb7ab85f639382e9cd7d64cc7fe5fc605bc887 (diff)
downloadprosody-a44cc062d203e1e7d00e8b8c10ff15a0ac977024.tar.gz
prosody-a44cc062d203e1e7d00e8b8c10ff15a0ac977024.zip
MUC: Removed old commented code.
-rw-r--r--plugins/muc/muc.lib.lua11
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 7063fcbd..f27cf191 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -89,17 +89,6 @@ local function getTag(stanza, path) return getUsingPath(stanza, path); end
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;