From 1fcec81fdd5688df6de58faf39644f925cb8893b Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Thu, 12 Nov 2026 13:16:29 +0100 Subject: [PATCH] fix: blank Voice tab covers a shared chat opened during a call (#34250) Opening a chat someone shared with you under "Allow replies" while your own voice call was running ended the call as intended, but left an empty Voice tab open in front of the chat, so the chat stayed hidden until you switched tabs. The Voice tab now closes along with the call, so the shared chat shows straight away. Fixes #34249 --- src/lib/components/chat/Tabs.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/components/chat/Tabs.svelte b/src/lib/components/chat/Tabs.svelte index ea769df1b6..5cf212dbba 100644 --- a/src/lib/components/chat/Tabs.svelte +++ b/src/lib/components/chat/Tabs.svelte @@ -1491,6 +1491,8 @@ showEmbeds.set(false); } $: if (viewReady && $showCallOverlay) openFeature('voice'); + $: if (viewReady && !$showCallOverlay && tabs.tabs.some((tab) => tab.kind === 'voice')) + closeTab('voice'); $: if (viewReady && $showTabs === 'voice') openFeature('voice'); $: if (viewReady && $showFileNav) { const request = $showFileNav;