MucConfigFormManager function ( String arg0 ) { if ( ! answerForm . hasField ( MUC_ROOMCONFIG_ROOMSECRET ) ) { throw new MucConfigurationNotSupportedException ( MUC_ROOMCONFIG_ROOMSECRET ) ; } answerForm . setAnswer ( MUC_ROOMCONFIG_ROOMSECRET , arg0 ) ; return this ; }
set the room secret , aka the room password . if set and enabled , the password is required to join the room . note that this does only set it by does not enable password protection . use #setandenablepassword string to set a password and make the room protected . concode_field_sep MultiUserChat multiUserChat concode_elem_sep String MUC_ROOMCONFIG_ROOMSECRET concode_elem_sep String MUC_ROOMCONFIG_ROOMOWNERS concode_elem_sep String MUC_ROOMCONFIG_PASSWORDPROTECTEDROOM concode_elem_sep List<Jid> owners concode_elem_sep Form answerForm concode_elem_sep String MUC_ROOMCONFIG_MEMBERSONLY concode_field_sep MucConfigFormManager setMembersOnly concode_elem_sep void submitConfigurationForm concode_elem_sep boolean supportsPasswordProtected concode_elem_sep MucConfigFormManager makePasswordProtected concode_elem_sep MucConfigFormManager setRoomOwners concode_elem_sep MucConfigFormManager makeMembersOnly concode_elem_sep MucConfigFormManager setIsPasswordProtected concode_elem_sep MucConfigFormManager setAndEnablePassword concode_elem_sep boolean supportsRoomOwners concode_elem_sep boolean supportsMembersOnly