aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-09 19:16:18 +0100
committerKim Alvefur <zash@zash.se>2018-03-09 19:16:18 +0100
commit79cd3d4333ecad0262b984b52c2072aa2c5365ec (patch)
tree55d70e0103896922b8f39045e0344ab874976a10
parent2bcd1752e0bbe4fb1df7117a98f1b44ce8e59636 (diff)
downloadprosody-79cd3d4333ecad0262b984b52c2072aa2c5365ec.tar.gz
prosody-79cd3d4333ecad0262b984b52c2072aa2c5365ec.zip
MUC: Write down which functions are exposed and thus available to other modules
-rw-r--r--plugins/muc/mod_muc.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index 3b25f997..83ed4900 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -6,6 +6,16 @@
-- COPYING file in the source package for more information.
--
+-- Exposed functions:
+--
+-- create_room(jid) -> room
+-- track_room(room)
+-- delete_room(room)
+-- forget_room(room)
+-- get_room_from_jid(jid) -> room
+-- each_room(local_only) -> () -> room
+-- shutdown_component()
+
if module:get_host_type() ~= "component" then
error("MUC should be loaded as a component, please see https://prosody.im/doc/components", 0);
end