Changeset

8572:ce1737520943

MUC: Write down which functions are exposed and thus available to other modules
author Kim Alvefur <zash@zash.se>
date Fri, 09 Mar 2018 19:16:18 +0100
parents 8571:44217f40ff4a
children 8573:85e51205eef7
files plugins/muc/mod_muc.lua
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua	Thu Mar 08 17:35:56 2018 +0100
+++ b/plugins/muc/mod_muc.lua	Fri Mar 09 19:16:18 2018 +0100
@@ -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