summaryrefslogtreecommitdiffhomepage
path: root/gui/src/main
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2020-04-28 16:00:07 +0200
committerOskar Nyberg <oskar@mullvad.net>2020-04-29 16:01:42 +0200
commit9e4ec286a9a26bc91018f1d7b3d3dc2e85635637 (patch)
tree7a7a6b640a76240d3a75e67396d57e8f27224c8f /gui/src/main
parent4cb4be56a7ad8e548e7aa4bcde59fb602ed94928 (diff)
downloadmullvadvpn-9e4ec286a9a26bc91018f1d7b3d3dc2e85635637.tar.xz
mullvadvpn-9e4ec286a9a26bc91018f1d7b3d3dc2e85635637.zip
Remove wireguard key generation error notification
Diffstat (limited to 'gui/src/main')
-rw-r--r--gui/src/main/index.ts1
-rw-r--r--gui/src/main/notification-controller.ts10
2 files changed, 0 insertions, 11 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts
index c0dd326429..b8c49d6a21 100644
--- a/gui/src/main/index.ts
+++ b/gui/src/main/index.ts
@@ -583,7 +583,6 @@ class ApplicationMain {
switch (event) {
case 'too_many_keys':
case 'generation_failure':
- this.notificationController.notifyKeyGenerationFailed();
this.wireguardPublicKey = undefined;
break;
default:
diff --git a/gui/src/main/notification-controller.ts b/gui/src/main/notification-controller.ts
index 41aca7ffea..9c3cf2193c 100644
--- a/gui/src/main/notification-controller.ts
+++ b/gui/src/main/notification-controller.ts
@@ -160,16 +160,6 @@ export default class NotificationController {
});
}
- public notifyKeyGenerationFailed() {
- const notification = new Notification({
- title: this.notificationTitle,
- body: messages.pgettext('notifications', 'Wireguard key generation failed'),
- silent: true,
- icon: this.notificationIcon,
- });
- this.scheduleNotification(notification);
- }
-
public closeToExpiryNotification(accountExpiry: AccountExpiry) {
const duration = accountExpiry.durationUntilExpiry();
const notification = new Notification({