File

plugins/muc/config_form_sections.lib.lua @ 13431:4698f1e36e02

util.ip: Remove ip.bits and related code, switch to more efficient strbitop 100,000 iterations of match() on my laptop from 3.5s -> 0.5s.
author Matthew Wild <mwild1@gmail.com>
date Fri, 23 Feb 2024 12:14:51 +0000
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);