mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Cache changes for #1003
This commit is contained in:
parent
4dbcade830
commit
5436253ffd
12 changed files with 47 additions and 198 deletions
|
|
@ -24,10 +24,7 @@ import { i18n } from 'Common/Translator';
|
|||
|
||||
import { dropFilesInFolder } from 'Common/Folders';
|
||||
|
||||
import {
|
||||
getFolderFromCacheList,
|
||||
MessageFlagsCache
|
||||
} from 'Common/Cache';
|
||||
import { getFolderFromCacheList } from 'Common/Cache';
|
||||
|
||||
import { AppUserStore } from 'Stores/User/App';
|
||||
import { SettingsUserStore } from 'Stores/User/Settings';
|
||||
|
|
@ -476,15 +473,11 @@ export class MailMessageList extends AbstractViewRight {
|
|||
folder.unreadEmails(0);
|
||||
}
|
||||
|
||||
MessageFlagsCache.clearFolder(sFolderFullName);
|
||||
|
||||
Remote.request('MessageSetSeenToAll', null, {
|
||||
folder: sFolderFullName,
|
||||
setAction: 1,
|
||||
threadUids: uids.join(',')
|
||||
});
|
||||
|
||||
MessagelistUserStore.reloadFlagsAndCachedMessage();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue