mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Rename Folder Hash to ETag as it is the more obvious name
This commit is contained in:
parent
1a05a0adf2
commit
fb2eb62f83
16 changed files with 74 additions and 69 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue