Diff

plugins/muc/config_form_sections.lib.lua @ 9036:bb4dcc555091

MUC: Commit forgotten file
author Matthew Wild <mwild1@gmail.com>
date Fri, 13 Jul 2018 15:53:39 +0100
line wrap: on
line diff
--- /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);