mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Do not attempt to convert .lnk files to placeholder. Also do not modify folders' metadata.
Signed-off-by: alex-z <blackslayer4@gmail.com>
This commit is contained in:
parent
079e9bd43d
commit
3831d8b462
1 changed files with 1 additions and 1 deletions
|
@ -1101,7 +1101,7 @@ void ProcessDirectoryJob::processFileAnalyzeLocalInfo(
|
|||
item->_type = ItemTypeVirtualFileDehydration;
|
||||
} else if (!serverModified
|
||||
&& (dbEntry._inode != localEntry.inode
|
||||
|| localEntry.isMetadataMissing
|
||||
|| (localEntry.isMetadataMissing && item->_type == ItemTypeFile && !FileSystem::isLnkFile(item->_file))
|
||||
|| _discoveryData->_syncOptions._vfs->needsMetadataUpdate(*item))) {
|
||||
item->_instruction = CSYNC_INSTRUCTION_UPDATE_METADATA;
|
||||
item->_direction = SyncFileItem::Down;
|
||||
|
|
Loading…
Reference in a new issue