diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index 1626426ca..b5f5df791 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/src/vector/platform/ElectronPlatform.tsx @@ -308,7 +308,11 @@ export default class ElectronPlatform extends VectorBasePlatform { return true; } - setNotificationCount(count: number) { + public allowOverridingNativeContextMenus(): boolean { + return true; + } + + public setNotificationCount(count: number): void { if (this.notificationCount === count) return; super.setNotificationCount(count);