diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index 4fcbbce398..287d7bab89 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/src/vector/platform/ElectronPlatform.tsx @@ -489,10 +489,7 @@ export default class ElectronPlatform extends VectorBasePlatform { } reload() { - // we used to remote to the main process to get it to - // reload the webcontents, but in practice this is unnecessary: - // the normal way works fine. - window.location.reload(false); + window.location.reload(); } private async ipcCall(name: string, ...args: any[]): Promise { diff --git a/src/vector/platform/WebPlatform.ts b/src/vector/platform/WebPlatform.ts index 33359f4292..454c8250df 100644 --- a/src/vector/platform/WebPlatform.ts +++ b/src/vector/platform/WebPlatform.ts @@ -178,7 +178,7 @@ export default class WebPlatform extends VectorBasePlatform { } installUpdate() { - window.location.reload(true); + window.location.reload(); } getDefaultDeviceDisplayName(): string { @@ -212,8 +212,6 @@ export default class WebPlatform extends VectorBasePlatform { } reload() { - // forceReload=false since we don't really need new HTML/JS files - // we just need to restart the JS runtime. - window.location.reload(false); + window.location.reload(); } }