plugins/muc/config_form_sections.lib.lua
author Kim Alvefur <zash@zash.se>
Wed, 12 Jun 2024 23:20:48 +0200
changeset 13498 4c3d6ed9c823
parent 9039 bb4dcc555091
permissions -rw-r--r--
Merge 0.12->trunk

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