This commit is contained in:
the-djmaze 2023-04-04 11:57:52 +02:00
parent 944a2cb8dc
commit 87313d0616
3 changed files with 3 additions and 2 deletions

View file

@ -90,6 +90,7 @@ export class AppUser extends AbstractApp {
addEventListener('click', dropdownsDetectVisibility); addEventListener('click', dropdownsDetectVisibility);
this.folderList = FolderUserStore.folderList; this.folderList = FolderUserStore.folderList;
this.messageList = MessagelistUserStore;
} }
/** /**

View file

@ -127,7 +127,7 @@ export class MessageModel extends AbstractModel {
addComputablesTo(this, { addComputablesTo(this, {
attachmentIconClass: () => attachmentIconClass: () =>
this.encrypted() ? 'icon-lock' : FileInfo.getAttachmentsIconClass(this.attachments()), this.encrypted() ? 'icon-lock' : FileInfo.getAttachmentsIconClass(this.attachments()),
threadsLen: () => this.threads().length, threadsLen: () => rl.app.messageList.threadUid() ? 0 : this.threads().length,
isUnseen: () => !this.flags().includes('\\seen'), isUnseen: () => !this.flags().includes('\\seen'),
isFlagged: () => this.flags().includes('\\flagged'), isFlagged: () => this.flags().includes('\\flagged'),

View file

@ -707,7 +707,7 @@ class MailClient
break; break;
} }
} }
$aAllThreads = []; $aAllThreads = [$aUids];
// This only speeds up the search when not cached // This only speeds up the search when not cached
// $oParams->oSequenceSet = new SequenceSet($aUids); // $oParams->oSequenceSet = new SequenceSet($aUids);
} else { } else {