# HG changeset patch # User Matthew Wild # Date 1531493619 -3600 # Node ID bb4dcc555091a07f3ad0cb245d1a0d4278b8eda9 # Parent 173c0e16e7048ce856ae64fa23a68fda20e77a3e MUC: Commit forgotten file diff -r 173c0e16e704 -r bb4dcc555091 plugins/muc/config_form_sections.lib.lua --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/muc/config_form_sections.lib.lua Fri Jul 13 15:53:39 2018 +0100 @@ -0,0 +1,27 @@ +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);