mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Use JMAP rfc8621 section-2 totalEmails, unreadEmails and isSubscribed
This commit is contained in:
parent
c5718057aa
commit
118505f91e
15 changed files with 68 additions and 72 deletions
|
|
@ -148,11 +148,11 @@ folderInformationMultiply = (boot = false) => {
|
|||
|
||||
setFolderHash(item.Folder, item.Hash);
|
||||
|
||||
folder.messageCountAll(item.MessageCount);
|
||||
folder.messageCountAll(item.totalEmails);
|
||||
|
||||
let unreadCountChange = folder.messageCountUnread() !== item.MessageUnseenCount;
|
||||
let unreadCountChange = folder.messageCountUnread() !== item.unreadEmails;
|
||||
|
||||
folder.messageCountUnread(item.MessageUnseenCount);
|
||||
folder.messageCountUnread(item.unreadEmails);
|
||||
|
||||
if (unreadCountChange) {
|
||||
MessageFlagsCache.clearFolder(folder.fullName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue