summaryrefslogtreecommitdiffhomepage
path: root/gui/src/main/index.ts
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2020-06-15 20:17:27 +0200
committerOskar Nyberg <oskar@mullvad.net>2020-06-24 11:23:12 +0200
commit0db07414743e8dbd5c00f810a138ff276fbf92f6 (patch)
tree9957b5fdde83938bb1b2b3ff0ba0810a6c90812d /gui/src/main/index.ts
parente66685fc8024d9ce8b6448199b2109e9123bd3b6 (diff)
downloadmullvadvpn-0db07414743e8dbd5c00f810a138ff276fbf92f6.tar.xz
mullvadvpn-0db07414743e8dbd5c00f810a138ff276fbf92f6.zip
Add account expiry case to error notification
Diffstat (limited to 'gui/src/main/index.ts')
-rw-r--r--gui/src/main/index.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts
index 407a348ca9..a0e17fd9be 100644
--- a/gui/src/main/index.ts
+++ b/gui/src/main/index.ts
@@ -623,7 +623,11 @@ class ApplicationMain {
this.updateTrayIcon(newState, this.settings.blockWhenDisconnected);
consumePromise(this.updateLocation());
- this.notificationController.notifyTunnelState(newState, this.settings.blockWhenDisconnected);
+ this.notificationController.notifyTunnelState(
+ newState,
+ this.settings.blockWhenDisconnected,
+ this.accountData?.expiry,
+ );
if (this.windowController) {
IpcMainEventChannel.tunnel.notify(this.windowController.webContents, newState);