diff options
author | allexzander <blackslayer4@gmail.com> | 2021-05-13 16:58:38 +0300 |
---|---|---|
committer | allexzander (Rebase PR Action) <allexzander@users.noreply.github.com> | 2021-05-17 15:19:58 +0300 |
commit | 76be5dce73826d50edf9cc06e3f07902056df9cd (patch) | |
tree | 313a1f6f701deca3c7a61a2eb78ce25f5029ac6b /src/libsync/discovery.cpp | |
parent | 47ec726cae506b141c148cf429d70d2c8175fc8f (diff) |
Add remote folder prefix for renaming in a non-root local folder.
Signed-off-by: allexzander <blackslayer4@gmail.com>
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 711e9921e..9b4615281 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -1045,7 +1045,7 @@ void ProcessDirectoryJob::processFileAnalyzeLocalInfo( } else { // We must query the server to know if the etag has not changed _pendingAsyncJobs++; - QString serverOriginalPath = _discoveryData->adjustRenamedPath(originalPath, SyncFileItem::Down); + QString serverOriginalPath = _discoveryData->_remoteFolder +_discoveryData->adjustRenamedPath(originalPath, SyncFileItem::Down); if (base.isVirtualFile() && isVfsWithSuffix()) chopVirtualFileSuffix(serverOriginalPath); auto job = new RequestEtagJob(_discoveryData->_account, serverOriginalPath, this); |