From 03cf7ca6988fed6f441f16a3fb10a2f83951e2e4 Mon Sep 17 00:00:00 2001 From: Timo K Date: Tue, 16 Jan 2024 16:03:45 +0100 Subject: [PATCH] Use jitsi-lobby in video channel Signed-off-by: Timo K --- src/vector/jitsi/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vector/jitsi/index.ts b/src/vector/jitsi/index.ts index 6584b76a5e..3fb45404c9 100644 --- a/src/vector/jitsi/index.ts +++ b/src/vector/jitsi/index.ts @@ -294,7 +294,7 @@ function toggleConferenceVisibility(inConference: boolean): void { document.getElementById("jitsiContainer")!.style.visibility = inConference ? "unset" : "hidden"; // Video rooms have a separate UI for joining, so they should never show our join button document.getElementById("joinButtonContainer")!.style.visibility = - inConference || isVideoChannel ? "hidden" : "unset"; + inConference ? "hidden" : "unset"; } function skipToJitsiSplashScreen(): void { @@ -452,7 +452,7 @@ async function joinConference(audioInput?: string | null, videoInput?: string | if (isVideoChannel) { // Ensure that we skip Jitsi Meet's native prejoin screen, for // deployments that have it enabled - options.configOverwrite!.prejoinConfig = { enabled: false }; + options.configOverwrite!.prejoinConfig = { enabled: true }; // Use a simplified set of toolbar buttons options.configOverwrite!.toolbarButtons = ["microphone", "camera", "tileview", "hangup"]; // Note: We can hide the screenshare button in video rooms but not in