mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 03:59:21 +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
|
|
@ -24,7 +24,7 @@ class RemoteUserFetch extends AbstractFetchRemote {
|
|||
const
|
||||
// folder = getFolderFromCacheList(params.folder.fullName),
|
||||
folder = getFolderFromCacheList(params.folder),
|
||||
folderHash = folder?.hash || '';
|
||||
folderETag = folder?.etag || '';
|
||||
|
||||
params = Object.assign({
|
||||
offset: 0,
|
||||
|
|
@ -40,8 +40,8 @@ class RemoteUserFetch extends AbstractFetchRemote {
|
|||
}
|
||||
|
||||
let sGetAdd = '';
|
||||
if (folderHash) {
|
||||
params.hash = folderHash + '-' + SettingsGet('AccountHash');
|
||||
if (folderETag) {
|
||||
params.hash = folderETag + '-' + SettingsGet('AccountHash');
|
||||
sGetAdd = 'MessageList/' + SUB_QUERY_PREFIX + '/' + b64EncodeJSONSafe(params);
|
||||
params = {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue