From d0c5730b9bacc669c5eb28430d6de49ec8ed3c09 Mon Sep 17 00:00:00 2001 From: Robin Townsend Date: Mon, 11 Apr 2022 13:10:27 -0400 Subject: [PATCH] No longer skip the prejoin screen in video rooms --- src/vector/jitsi/index.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/vector/jitsi/index.ts b/src/vector/jitsi/index.ts index c801d2ad03..3ac4d1d3fb 100644 --- a/src/vector/jitsi/index.ts +++ b/src/vector/jitsi/index.ts @@ -127,7 +127,7 @@ const ack = (ev: CustomEvent) => widgetApi.transport.reply(ev const instanceConfig = new SnakedObject((await configPromise) ?? {}); const jitsiConfig = instanceConfig.get("jitsi_widget") ?? {}; skipOurWelcomeScreen = (new SnakedObject(jitsiConfig)) - .get("skip_built_in_welcome_screen") || isVideoChannel; + .get("skip_built_in_welcome_screen") ?? false; // Either reveal the prejoin screen, or skip straight to Jitsi depending on the config. // We don't set up the call yet though as this might lead to failure without the widget API. @@ -332,9 +332,6 @@ function joinConference() { // event handler bound in HTML // Video channel widgets need some more tailored config options if (isVideoChannel) { - // Ensure that we start on Jitsi Meet's native prejoin screen, for - // deployments that skip straight to the conference by default - options.configOverwrite.prejoinConfig = { enabled: true }; // Use a simplified set of toolbar buttons options.configOverwrite.toolbarButtons = [ "microphone", "camera", "desktop", "tileview", "hangup",