From 0fadd4cb720825ca99a4c189f0f4bb8a15907692 Mon Sep 17 00:00:00 2001 From: Hivert Quentin Date: Tue, 15 Apr 2025 14:05:52 +0200 Subject: [PATCH] fic(notificaiton): remove the unintended rules on email that was the same as for forward --- .../js/Preferences/PreferencesController.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/UI/WebServerResources/js/Preferences/PreferencesController.js b/UI/WebServerResources/js/Preferences/PreferencesController.js index 330d65b58..ec18645fd 100644 --- a/UI/WebServerResources/js/Preferences/PreferencesController.js +++ b/UI/WebServerResources/js/Preferences/PreferencesController.js @@ -427,20 +427,6 @@ } } - // We check if we're allowed or not to notify based on the domain defaults - if (this.preferences.defaults.Notification && this.preferences.defaults.Notification.enabled && - this.preferences.defaults.Notification.notificationAddress) { - addresses = this.preferences.defaults.Notification.notificationAddress; - try { - for (i = 0; i < addresses.length; i++) { - validateForwardAddress(addresses[i]); - } - } catch (err) { - Dialog.alert(l('Error'), err); - sendForm = false; - } - } - // IMAP labels must be unique if (this.preferences.defaults.SOGoMailLabelsColorsKeys.length != this.preferences.defaults.SOGoMailLabelsColorsValues.length ||