feat(local-recording) Update config (#11731)

Enable feature by default
This commit is contained in:
Robert Pintilii 2022-06-23 12:03:21 +01:00 committed by GitHub
parent 4d6ca4383f
commit 40a6240444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -297,8 +297,8 @@ var config = {
// Local recording configuration. // Local recording configuration.
// localRecording: { // localRecording: {
// // Whether to enable local recording or not. // // Whether to disable local recording or not.
// enable: false, // disable: false,
// // Whether to notify all participants when a participant is recording locally. // // Whether to notify all participants when a participant is recording locally.
// notifyAllParticipants: false // notifyAllParticipants: false
// }, // },

View File

@ -707,7 +707,7 @@ function _mapStateToProps(state) {
return { return {
..._abstractMapStateToProps(state), ..._abstractMapStateToProps(state),
isVpaas: isVpaasMeeting(state), isVpaas: isVpaasMeeting(state),
_localRecordingEnabled: state['features/base/config'].localRecording.enable, _localRecordingEnabled: !state['features/base/config'].localRecording.disable,
_localRecordingNoNotification: !state['features/base/config'].localRecording.notifyAllParticipants, _localRecordingNoNotification: !state['features/base/config'].localRecording.notifyAllParticipants,
_styles: ColorSchemeRegistry.get(state, 'StartRecordingDialogContent') _styles: ColorSchemeRegistry.get(state, 'StartRecordingDialogContent')
}; };