MUC: Commit forgotten file
authorMatthew Wild <mwild1@gmail.com>
Fri, 13 Jul 2018 15:53:39 +0100
changeset 9039 bb4dcc555091
parent 9038 173c0e16e704
child 9040 e3c8274427d3
MUC: Commit forgotten file
plugins/muc/config_form_sections.lib.lua
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/muc/config_form_sections.lib.lua	Fri Jul 13 15:53:39 2018 +0100
@@ -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);