1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-23 01:12:19 -05:00

[WO-29] omit unnecessary flag update

This commit is contained in:
Felix Hammerl 2013-10-24 15:18:16 +02:00
parent 5b895cb61e
commit d4398ebbb8

View File

@ -167,6 +167,10 @@ define(function(require) {
return; return;
} }
if (!email.unread) {
return;
}
email.unread = false; email.unread = false;
emailDao.imapMarkMessageRead({ emailDao.imapMarkMessageRead({
folder: getFolder().path, folder: getFolder().path,