From 61972c35a8be6eccddb67787dcbaba7e98599bc2 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Fri, 26 Jul 2019 10:00:19 +0200 Subject: [PATCH] Discovery: Parse etag to be consistent with RequestEtagJob This avoids unnecessary sync runs. For #7345 --- src/libsync/discoveryphase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsync/discoveryphase.cpp b/src/libsync/discoveryphase.cpp index e137316a1..233cf16a4 100644 --- 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 } } }