MessageResultCount to JMAP totalEmails

This commit is contained in:
the-djmaze 2022-12-13 14:04:43 +01:00
parent df8e4d2b9d
commit f8f8cd0124
4 changed files with 11 additions and 8 deletions

View file

@ -18,7 +18,6 @@ export class MessageCollectionModel extends AbstractCollectionModel
this.FolderInfo
this.totalEmails
this.unreadEmails
this.MessageResultCount
this.UidNext
this.ThreadUid
this.NewMessages

View file

@ -258,7 +258,7 @@ MessagelistUserStore.reload = (bDropPagePosition = false, bDropCurrentFolderCach
MessagelistUserStore.notifyNewMessages(folder.fullName, collection.NewMessages);
}
MessagelistUserStore.count(collection.MessageResultCount);
MessagelistUserStore.count(collection.totalEmails);
MessagelistUserStore.listSearch(pString(collection.Search));
MessagelistUserStore.page(Math.ceil(collection.Offset / SettingsUserStore.messagesPerPage() + 1));
MessagelistUserStore.threadUid(collection.ThreadUid);