aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/muc/muc.lib.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index eb6e2257..23acfed1 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -799,9 +799,15 @@ function room_mt:get_voice_form_layout() -- luacheck: ignore 212/self
},
{
name = "muc#role";
- type = "text-single";
+ type = "list-single";
label = "Requested Role";
value = "participant";
+ options = {
+ "none",
+ "visitor",
+ "participant",
+ "moderator",
+ };
},
{
name = "muc#request_allow";