mirror of https://github.com/nextcloud/desktop
Discovery: Fix renaming on windows
buf.type is ItemFileSkip because csync_vio_local_stat does not set this field
This commit is contained in:
parent
beee123c80
commit
eb23776f16
|
@ -474,7 +474,7 @@ void ProcessDirectoryJob::processFileAnalyzeRemoteInfo(
|
|||
qCInfo(lcDisco) << "Local file does not exist anymore." << originalPath;
|
||||
return;
|
||||
}
|
||||
if (buf.modtime != base._modtime || buf.size != base._fileSize || buf.type != ItemTypeFile) {
|
||||
if (buf.modtime != base._modtime || buf.size != base._fileSize || buf.type == ItemTypeDirectory) {
|
||||
qCInfo(lcDisco) << "File has changed locally, not a rename." << originalPath;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue