# HG changeset patch # User Kim Alvefur # Date 1527948600 -7200 # Node ID 2a48255f889b5ad6611b3b1bccae472e0d57b7c3 # Parent 0bb46a1bb3986fb653446128adcb5797a3557dce MUC: Correctly use a multiple options field for requested role (thanks jonasw) diff -r 0bb46a1bb398 -r 2a48255f889b plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Fri Jun 01 10:26:18 2018 +0200 +++ b/plugins/muc/muc.lib.lua Sat Jun 02 16:10:00 2018 +0200 @@ -799,9 +799,15 @@ }, { name = "muc#role"; - type = "text-single"; + type = "list-single"; label = "Requested Role"; value = "participant"; + options = { + "none", + "visitor", + "participant", + "moderator", + }; }, { name = "muc#request_allow";