diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-09 19:16:18 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-09 19:16:18 +0100 |
commit | 79cd3d4333ecad0262b984b52c2072aa2c5365ec (patch) | |
tree | 55d70e0103896922b8f39045e0344ab874976a10 /plugins | |
parent | 2bcd1752e0bbe4fb1df7117a98f1b44ce8e59636 (diff) | |
download | prosody-79cd3d4333ecad0262b984b52c2072aa2c5365ec.tar.gz prosody-79cd3d4333ecad0262b984b52c2072aa2c5365ec.zip |
MUC: Write down which functions are exposed and thus available to other modules
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/muc/mod_muc.lua | 10 |
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 |