Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-02-26 14:02:06 +0300
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>2021-08-23 10:44:34 +0300
commit6c1073db92f3830c0f9b84d198ae283915c4e3cf (patch)
tree1ae67416cbeaf9b6e2e59749b2a8cd6341203892 /src/libsync/discovery.cpp
parent5b457a1663cfd6df63e6762ddc9a7d1a29200455 (diff)
Fix another url for etag request
Fixes: #7838
Diffstat (limited to 'src/libsync/discovery.cpp')
-rw-r--r--src/libsync/discovery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp
index 45bcf96a1..8272ab249 100644
--- a/src/libsync/discovery.cpp
+++ b/src/libsync/discovery.cpp
@@ -696,7 +696,7 @@ void ProcessDirectoryJob::processFileAnalyzeRemoteInfo(
} else {
// we need to make a request to the server to know that the original file is deleted on the server
_pendingAsyncJobs++;
- auto job = new RequestEtagJob(_discoveryData->_account, originalPath, this);
+ auto job = new RequestEtagJob(_discoveryData->_account, _discoveryData->_remoteFolder + originalPath, this);
connect(job, &RequestEtagJob::finishedWithResult, this, [=](const HttpResult<QByteArray> &etag) mutable {
_pendingAsyncJobs--;
QTimer::singleShot(0, _discoveryData, &DiscoveryPhase::scheduleMoreJobs);