diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index b18b1abe4e..114a31aacf 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/src/vector/platform/ElectronPlatform.tsx @@ -217,6 +217,10 @@ export default class ElectronPlatform extends VectorBasePlatform { super.setNotificationCount(count); window.electron!.send("setBadgeCount", count); + // Windows doesn't support app badgeCount so we have to call this too + navigator.setAppBadge?.(count).catch((e) => { + logger.error("Failed to update app badge", e); + }); } public supportsNotifications(): boolean {