plugins/muc/config_form_sections.lib.lua
author Kim Alvefur <zash@zash.se>
Mon, 12 Dec 2022 07:07:13 +0100
branch0.12
changeset 12803 3784a8ce0596
parent 9039 bb4dcc555091
permissions -rw-r--r--
Merge 0.11->0.12

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);