Rename Folder Hash to ETag as it is the more obvious name

This commit is contained in:
the-djmaze 2023-02-16 10:55:23 +01:00
parent 1a05a0adf2
commit fb2eb62f83
16 changed files with 74 additions and 69 deletions

View file

@ -127,8 +127,8 @@ export class FolderCollectionModel extends AbstractCollectionModel
let oCacheFolder = getFolderFromCacheList(oFolder.fullName);
if (oCacheFolder) {
// oCacheFolder.revivePropertiesFromJson(oFolder);
if (oFolder.hash) {
oCacheFolder.hash = oFolder.hash;
if (oFolder.etag) {
oCacheFolder.etag = oFolder.etag;
}
if (null != oFolder.totalEmails) {
oCacheFolder.totalEmails(oFolder.totalEmails);
@ -300,7 +300,7 @@ export class FolderModel extends AbstractModel {
this.exists = true;
this.hash = '';
this.etag = '';
this.id = 0;
this.uidNext = 0;

View file

@ -13,17 +13,16 @@ export class MessageCollectionModel extends AbstractCollectionModel
/*
constructor() {
super();
this.Filtered
this.filtered
this.folder
this.folderHash
this.folderInfo
this.totalEmails
this.unreadEmails
this.totalThreads
this.threadUid
this.newMessages
this.offset
this.limit
this.search
this.limited
}
*/