mirror of https://github.com/moparisthebest/mail
[WO-29] omit unnecessary flag update
This commit is contained in:
parent
5b895cb61e
commit
d4398ebbb8
|
@ -167,6 +167,10 @@ define(function(require) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!email.unread) {
|
||||
return;
|
||||
}
|
||||
|
||||
email.unread = false;
|
||||
emailDao.imapMarkMessageRead({
|
||||
folder: getFolder().path,
|
||||
|
|
Loading…
Reference in New Issue