Fix new conf feature

This commit is contained in:
Gregoire Parant 2021-02-18 09:38:27 +01:00
parent 5ddf909fe6
commit 8a2954eab9

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