diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl index a901e61b8..e4daddb44 100644 --- a/src/mod_muc/mod_muc_room.erl +++ b/src/mod_muc/mod_muc_room.erl @@ -3790,7 +3790,8 @@ prepare_request_form(Requester, Nick, Lang) -> {xmlelement, "field", [{"var", "FORM_TYPE"}, {"type", "hidden"}], [{xmlelement, "value", [], [{xmlcdata, "http://jabber.org/protocol/muc#request"}]}]}, - ?STRINGXFIELD("Requested role", "muc#role", "participant"), + {xmlelement, "field", [{"var", "muc#role"}, {"type", "hidden"}], + [{xmlelement, "value", [], [{xmlcdata, "participant"}]}]}, ?STRINGXFIELD("User JID", "muc#jid", jlib:jid_to_string(Requester)), ?STRINGXFIELD("Nickname", "muc#roomnick", Nick), ?BOOLXFIELD("Grant voice to this person?", "muc#request_allow",