File

plugins/muc/config_form_sections.lib.lua @ 13805:eef9a2a53dcb 13.0

mod_tls: Collect full certificate chain validation information Enabling at least one of the ssl.verifyext modes enables a callback that collects all the errors, which are used by mod_s2s to report better problem descriptions.
author Kim Alvefur <zash@zash.se>
date Tue, 01 Apr 2025 20:49:58 +0200
parent 9036:bb4dcc555091
line wrap: on
line source

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