mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Backport 64014dd374
This commit is contained in:
parent
6794306dde
commit
4031fb6d5b
1 changed files with 2 additions and 1 deletions
|
@ -681,7 +681,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 a new issue