diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-02-26 14:02:06 +0300 |
---|---|---|
committer | Matthieu Gallien <matthieu.gallien@nextcloud.com> | 2021-08-23 10:44:34 +0300 |
commit | 6c1073db92f3830c0f9b84d198ae283915c4e3cf (patch) | |
tree | 1ae67416cbeaf9b6e2e59749b2a8cd6341203892 /src/libsync/discovery.cpp | |
parent | 5b457a1663cfd6df63e6762ddc9a7d1a29200455 (diff) |
Fix another url for etag request
Fixes: #7838
Diffstat (limited to 'src/libsync/discovery.cpp')
-rw-r--r-- | src/libsync/discovery.cpp | 2 |
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); |