mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-27 15:59:29 +00:00
feat(mail): delay or disable automatic mark message as read
Fixes #1585
This commit is contained in:
@@ -98,6 +98,9 @@
|
||||
_.forEach(hotkeys, function(key) {
|
||||
sgHotkeys.deregisterHotkey(key);
|
||||
});
|
||||
// Cancel automatic mark as read
|
||||
if (vm.message.$markAsReadPromise)
|
||||
vm.service.$timeout.cancel(vm.message.$markAsReadPromise);
|
||||
});
|
||||
|
||||
}; // $onInit
|
||||
|
||||
Reference in New Issue
Block a user