From 57efbe50bceaa091a6ad0334895107ef703c2af8 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Tue, 19 Dec 2023 18:40:27 +0100 Subject: [PATCH] Don't auto-update during calls --- app/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/main.ts b/app/main.ts index 3ec4b2d0cc..1addcb217e 100644 --- a/app/main.ts +++ b/app/main.ts @@ -1174,7 +1174,8 @@ async function readyForUpdates() { canRunSilently: () => { return ( systemTrayService?.isVisible() === true && - mainWindow?.isVisible() === false + mainWindow?.isVisible() !== true && + mainWindow?.webContents?.getBackgroundThrottling() !== false ); }, });