From 872b7f5110accda53cf2f9c30cf61e32e1417c06 Mon Sep 17 00:00:00 2001 From: Timo K Date: Tue, 16 Jan 2024 20:16:44 +0100 Subject: [PATCH] update comment Signed-off-by: Timo K --- src/vector/jitsi/index.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/vector/jitsi/index.ts b/src/vector/jitsi/index.ts index 3fb45404c9..c4a41854f5 100644 --- a/src/vector/jitsi/index.ts +++ b/src/vector/jitsi/index.ts @@ -293,8 +293,7 @@ function switchVisibleContainers(): void { 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 ? "hidden" : "unset"; + document.getElementById("joinButtonContainer")!.style.visibility = inConference ? "hidden" : "unset"; } function skipToJitsiSplashScreen(): void { @@ -450,8 +449,7 @@ async function joinConference(audioInput?: string | null, videoInput?: string | // Video channel widgets need some more tailored config options if (isVideoChannel) { - // Ensure that we skip Jitsi Meet's native prejoin screen, for - // deployments that have it enabled + // We don't skip jitsi's prejoin screen for video rooms. options.configOverwrite!.prejoinConfig = { enabled: true }; // Use a simplified set of toolbar buttons options.configOverwrite!.toolbarButtons = ["microphone", "camera", "tileview", "hangup"];