mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 05:55:59 +03:00
Merge pull request #3987 from nextcloud/bugfix/upload-new-folder-with-vfs
Quick fix! Disable VFS folders removal for non-Windows VFS.
This commit is contained in:
commit
5294c5135c
1 changed files with 5 additions and 0 deletions
|
@ -1000,6 +1000,11 @@ void ProcessDirectoryJob::processFileAnalyzeLocalInfo(
|
|||
return;
|
||||
}
|
||||
|
||||
if (localEntry.isDirectory && _discoveryData->_syncOptions._vfs->mode() != Vfs::WindowsCfApi) {
|
||||
// for VFS folders on Windows only
|
||||
return;
|
||||
}
|
||||
|
||||
Q_ASSERT(item->_instruction == CSYNC_INSTRUCTION_NEW);
|
||||
if (item->_instruction != CSYNC_INSTRUCTION_NEW) {
|
||||
qCWarning(lcDisco) << "Trying to wipe a virtual item" << path._local << " with item->_instruction" << item->_instruction;
|
||||
|
|
Loading…
Reference in a new issue