mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-01 08:29:45 +00:00
feat(notification): add custom message
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
this.autocomplete = {forward: [], notification: []};
|
||||
this.mailLabelKeyRE = new RegExp(/^(?!^_\$)[^(){} %*\"\\\\]*?$/);
|
||||
this.emailSeparatorKeys = Preferences.defaults.emailSeparatorKeys;
|
||||
if (!Preferences.defaults.Notification.notificationMessage)
|
||||
this.preferences.defaults.Notification.notificationMessage = l('Notification Message', $window.defaultEmailAddresses);
|
||||
if (Preferences.defaults.SOGoMailAutoMarkAsReadMode == 'delay')
|
||||
this.mailAutoMarkAsReadDelay = Math.max(1, this.preferences.defaults.SOGoMailAutoMarkAsReadDelay);
|
||||
else
|
||||
@@ -724,7 +726,7 @@
|
||||
});
|
||||
}
|
||||
else {
|
||||
recipient = contact.$shortFormat();
|
||||
recipient = contact.$$email;
|
||||
}
|
||||
|
||||
if (recipient)
|
||||
|
||||
Reference in New Issue
Block a user