aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-07-13 15:53:39 +0100
committerMatthew Wild <mwild1@gmail.com>2018-07-13 15:53:39 +0100
commitb3b511e2a52be94a01e753d8773c655c6f562126 (patch)
tree542a6b41500700f779a9bff9b45522b902d10c1e /plugins
parentaf3f281a246020851c57df60ab61b6a9ef2a82b9 (diff)
downloadprosody-b3b511e2a52be94a01e753d8773c655c6f562126.tar.gz
prosody-b3b511e2a52be94a01e753d8773c655c6f562126.zip
MUC: Commit forgotten file
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/config_form_sections.lib.lua27
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/muc/config_form_sections.lib.lua b/plugins/muc/config_form_sections.lib.lua
new file mode 100644
index 00000000..34be5dc6
--- /dev/null
+++ b/plugins/muc/config_form_sections.lib.lua
@@ -0,0 +1,27 @@
+module:hook("muc-config-form", function(event)
+ table.insert(event.form, {
+ type = "fixed";
+ value = "Room information";
+ });
+end, 100);
+
+module:hook("muc-config-form", function(event)
+ table.insert(event.form, {
+ type = "fixed";
+ value = "Access to the room";
+ });
+end, 90);
+
+module:hook("muc-config-form", function(event)
+ table.insert(event.form, {
+ type = "fixed";
+ value = "Permissions in the room";
+ });
+end, 80);
+
+module:hook("muc-config-form", function(event)
+ table.insert(event.form, {
+ type = "fixed";
+ value = "Other options";
+ });
+end, 70);