Fix new conf feature

This commit is contained in:
Gregoire Parant 2021-02-18 09:38:27 +01:00
parent 5ddf909fe6
commit 8a2954eab9
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ const mergeConfig = (config?: object) => {
return currentDefaultConfig;
}
return {
...currentDefaultConfig,
...config,
startWithAudioMuted: (config as jitsiConfigInterface).startWithAudioMuted ? true : currentDefaultConfig.startWithAudioMuted,
startWithVideoMuted: (config as jitsiConfigInterface).startWithVideoMuted ? true : currentDefaultConfig.startWithVideoMuted,
prejoinPageEnabled: (config as jitsiConfigInterface).prejoinPageEnabled ? true : currentDefaultConfig.prejoinPageEnabled