mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 06:45:49 +03:00
Discovery: Parse etag to be consistent with RequestEtagJob
This avoids unnecessary sync runs. For #7345
This commit is contained in:
parent
38c466efbf
commit
61972c35a8
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ void DiscoverySingleDirectoryJob::directoryListingIteratedSlot(QString file, con
|
|||
//This works in concerto with the RequestEtagJob and the Folder object to check if the remote folder changed.
|
||||
if (map.contains("getetag")) {
|
||||
if (_firstEtag.isEmpty()) {
|
||||
_firstEtag = map.value("getetag"); // for directory itself
|
||||
_firstEtag = parseEtag(map.value("getetag").toUtf8()); // for directory itself
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue