mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 15:27:12 +00:00
fix(mail(js)): save "mark as read" delay when changing mode
This commit is contained in:
1 parent
d3ede8ce73
commit
edcf03e179
2 files changed
+5
-1
No files matched your search
@@ -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