mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 06:57:03 +03:00
PreRelease commit
This commit is contained in:
parent
cfad4bb005
commit
c926642bff
11 changed files with 80 additions and 78 deletions
|
|
@ -653,7 +653,7 @@ class AppUser extends AbstractApp
|
|||
MessageStore.initUidNextAndNewMessages(folder.fullNameRaw, data.Result.UidNext, data.Result.NewMessages);
|
||||
|
||||
const hash = Cache.getFolderHash(data.Result.Folder);
|
||||
if (data.Result.Hash !== hash || '' === hash)
|
||||
if (data.Result.Hash !== hash || '' === hash || unreadCountChange)
|
||||
{
|
||||
if (folder.fullNameRaw === FolderStore.currentFolderFullNameRaw())
|
||||
{
|
||||
|
|
@ -664,17 +664,6 @@ class AppUser extends AbstractApp
|
|||
this.recacheInboxMessageList();
|
||||
}
|
||||
}
|
||||
else if (unreadCountChange)
|
||||
{
|
||||
if (folder.fullNameRaw === FolderStore.currentFolderFullNameRaw())
|
||||
{
|
||||
list = MessageStore.messageList();
|
||||
if (Utils.isNonEmptyArray(list))
|
||||
{
|
||||
this.folderInformation(folder.fullNameRaw, list);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue