mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Backport 64014dd374
This commit is contained in:
parent
09deeaf8a8
commit
7abb0826cf
@ -672,7 +672,8 @@ void ProcessDirectoryJob::processFile(PathTuple path,
|
||||
auto up = _discoveryData->_statedb->getUploadInfo(path._original);
|
||||
if (up._valid && up._contentChecksum == remoteChecksumHeader) {
|
||||
// Solve the conflict into an upload, or nothing
|
||||
item->_instruction = up._modtime == localEntry.modtime ? CSYNC_INSTRUCTION_UPDATE_METADATA : CSYNC_INSTRUCTION_SYNC;
|
||||
item->_instruction = up._modtime == localEntry.modtime && up._size == localEntry.size
|
||||
? CSYNC_INSTRUCTION_UPDATE_METADATA : CSYNC_INSTRUCTION_SYNC;
|
||||
item->_direction = SyncFileItem::Up;
|
||||
|
||||
// Update the etag and other server metadata in the journal already
|
||||
|
||||
Loading…
Reference in New Issue
Block a user