plugins/muc/config_form_sections.lib.lua
author Matthew Wild <mwild1@gmail.com>
Thu, 12 Mar 2020 20:32:07 +0000
branch0.11
changeset 10694 27d15097c235
parent 9039 bb4dcc555091
permissions -rw-r--r--
MUC: Persist affiliation_data in new MUC format!

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