mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-30 06:15:42 +00:00
feat(mail): delay or disable automatic mark message as read
Fixes #1585
This commit is contained in:
1 parent
30040ba590
commit
4eed98d58d
14 files changed
+129
-12
No files matched your search
@@ -25,6 +25,7 @@
|
||||
$mdConstant.KEY_CODE.COMMA,
|
||||
$mdConstant.KEY_CODE.SEMICOLON
|
||||
];
|
||||
this.mailAutoMarkAsReadDelay = Preferences.defaults.SOGoMailAutoMarkAsReadEnabled ? Preferences.defaults.SOGoMailAutoMarkAsReadDelay : 5;
|
||||
|
||||
// Set alternate avatar in User service
|
||||
if (Preferences.defaults.SOGoAlternateAvatar)
|
||||
@@ -107,6 +108,10 @@
|
||||
form.$setDirty();
|
||||
};
|
||||
|
||||
this.onMailAutoMarkAsReadDelay = function() {
|
||||
this.preferences.defaults.SOGoMailAutoMarkAsReadDelay = this.mailAutoMarkAsReadDelay;
|
||||
};
|
||||
|
||||
this.addMailAccount = function(ev, form) {
|
||||
var account, index;
|
||||
|
||||
|
||||
Reference in new issue
Block a user