projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38c466e
)
Discovery: Parse etag to be consistent with RequestEtagJob
author
Christian Kamm
<mail@ckamm.de>
Fri, 26 Jul 2019 08:00:19 +0000
(10:00 +0200)
committer
Kevin Ottens
<kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:54 +0000
(10:58 +0100)
This avoids unnecessary sync runs.
For #7345
src/libsync/discoveryphase.cpp
patch
|
blob
|
history
diff --git
a/src/libsync/discoveryphase.cpp
b/src/libsync/discoveryphase.cpp
index e137316a19b7fc919ddf9bc9a1c27f98eb25f693..233cf16a47214bf72e5fd2f97eec4a35f15ec381 100644
(file)
--- a/
src/libsync/discoveryphase.cpp
+++ b/
src/libsync/discoveryphase.cpp
@@
-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
}
}
}