Fix new conf feature
This commit is contained in:
@@ -23,6 +23,8 @@ const mergeConfig = (config?: object) => {
|
|||||||
return currentDefaultConfig;
|
return currentDefaultConfig;
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
...currentDefaultConfig,
|
||||||
|
...config,
|
||||||
startWithAudioMuted: (config as jitsiConfigInterface).startWithAudioMuted ? true : currentDefaultConfig.startWithAudioMuted,
|
startWithAudioMuted: (config as jitsiConfigInterface).startWithAudioMuted ? true : currentDefaultConfig.startWithAudioMuted,
|
||||||
startWithVideoMuted: (config as jitsiConfigInterface).startWithVideoMuted ? true : currentDefaultConfig.startWithVideoMuted,
|
startWithVideoMuted: (config as jitsiConfigInterface).startWithVideoMuted ? true : currentDefaultConfig.startWithVideoMuted,
|
||||||
prejoinPageEnabled: (config as jitsiConfigInterface).prejoinPageEnabled ? true : currentDefaultConfig.prejoinPageEnabled
|
prejoinPageEnabled: (config as jitsiConfigInterface).prejoinPageEnabled ? true : currentDefaultConfig.prejoinPageEnabled
|
||||||
|
|||||||
Reference in New Issue
Block a user