mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Added message tags toggle for #419
This commit is contained in:
parent
a6d97a601c
commit
70e3e6423e
19 changed files with 197 additions and 130 deletions
|
|
@ -229,11 +229,11 @@ export class AppUser extends AbstractApp {
|
|||
|
||||
setFolderHash(result.Folder, result.Hash);
|
||||
|
||||
folderFromCache.messageCountAll(result.totalEmails);
|
||||
folderFromCache.totalEmails(result.totalEmails);
|
||||
|
||||
let unreadCountChange = (folderFromCache.messageCountUnread() !== result.unreadEmails);
|
||||
let unreadCountChange = (folderFromCache.unreadEmails() !== result.unreadEmails);
|
||||
|
||||
folderFromCache.messageCountUnread(result.unreadEmails);
|
||||
folderFromCache.unreadEmails(result.unreadEmails);
|
||||
|
||||
if (unreadCountChange) {
|
||||
MessageFlagsCache.clearFolder(folderFromCache.fullName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue