mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-28 14:55:48 +00:00
Merge MailSo\Mail\Folder into MailSo\Imap\Folder and speedup process
This commit is contained in:
@@ -105,7 +105,6 @@ export class FolderCollectionModel extends AbstractCollectionModel
|
||||
constructor() {
|
||||
super();
|
||||
this.CountRec
|
||||
this.IsThreadsSupported
|
||||
this.Namespace;
|
||||
this.Optimized
|
||||
this.SystemFolders
|
||||
@@ -200,7 +199,10 @@ export class FolderCollectionModel extends AbstractCollectionModel
|
||||
|
||||
FolderUserStore.namespace = this.Namespace;
|
||||
|
||||
AppUserStore.threadsAllowed(!!(Settings.app('useImapThread') && this.IsThreadsSupported));
|
||||
// 'THREAD=REFS', 'THREAD=REFERENCES', 'THREAD=ORDEREDSUBJECT'
|
||||
AppUserStore.threadsAllowed(!!(
|
||||
Settings.app('useImapThread') && this.Capabilities.some(capa => capa.startsWith('THREAD='))
|
||||
));
|
||||
|
||||
FolderUserStore.folderListOptimized(!!this.Optimized);
|
||||
FolderUserStore.quotaUsage(this.quotaUsage);
|
||||
|
||||
Reference in New Issue
Block a user