prosodyctl check: Warn about invalid domain names in the config file
This ensures that domain names of virtual hosts and components are valid in
XMPP, and that they are encoded correctly.
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);