security-dialog: restore digit-only password functionality

This commit is contained in:
Saúl Ibarra Corretgé 2020-07-21 17:17:43 +02:00 committed by Дамян Минков
parent 48a58f8dae
commit 9d6e21b77b
1 changed files with 6 additions and 1 deletions

View File

@ -125,13 +125,18 @@ function mapStateToProps(state) {
locked,
password
} = state['features/base/conference'];
const {
lockRoomGuestEnabled,
roomPasswordNumberOfDigits
} = state['features/base/config'];
return {
_canEditPassword: isLocalParticipantModerator(state, state['features/base/config'].lockRoomGuestEnabled),
_canEditPassword: isLocalParticipantModerator(state, lockRoomGuestEnabled),
_conference: conference,
_dialIn: state['features/invite'],
_locked: locked,
_password: password,
_passwordNumberOfDigits: roomPasswordNumberOfDigits,
_showE2ee: Boolean(e2eeSupported)
};
}