mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-16 13:54:54 +00:00
fix(mail(js)): save "mark as read" delay when changing mode
This commit is contained in:
@@ -25,7 +25,10 @@
|
||||
$mdConstant.KEY_CODE.COMMA,
|
||||
$mdConstant.KEY_CODE.SEMICOLON
|
||||
];
|
||||
this.mailAutoMarkAsReadDelay = Preferences.defaults.SOGoMailAutoMarkAsReadMode == 'delay' ? Math.max(1, Preferences.defaults.SOGoMailAutoMarkAsReadDelay) : 5;
|
||||
if (Preferences.defaults.SOGoMailAutoMarkAsReadMode == 'delay')
|
||||
this.mailAutoMarkAsReadDelay = Math.max(1, this.preferences.defaults.SOGoMailAutoMarkAsReadDelay);
|
||||
else
|
||||
this.mailAutoMarkAsReadDelay = 5;
|
||||
|
||||
// Set alternate avatar in User service
|
||||
if (Preferences.defaults.SOGoAlternateAvatar)
|
||||
|
||||
Reference in New Issue
Block a user