plugins/muc/config_form_sections.lib.lua
author Kim Alvefur <zash@zash.se>
Sat, 30 Nov 2019 23:33:39 +0100
changeset 10476 676e6a1b23d4
parent 9039 bb4dcc555091
permissions -rw-r--r--
mod_s2s: Log from session logger Helps locating all messages related to a specific session

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