Skip to content

Commit

Permalink
Only use BulkDownloadPropagator for cases of new sync.
Browse files Browse the repository at this point in the history
Signed-off-by: alex-z <[email protected]>
  • Loading branch information
allexzander committed May 15, 2024
1 parent 7da773f commit f70206a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsync/owncloudpropagator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ void OwncloudPropagator::startFilePropagation(const SyncFileItemPtr &item,
const auto isVfsCfApi = syncOptions()._vfs && syncOptions()._vfs->mode() == Vfs::WindowsCfApi;
const auto isDownload = item->_direction == SyncFileItem::Down &&
(item->_instruction == CSYNC_INSTRUCTION_NEW || item->_instruction == CSYNC_INSTRUCTION_SYNC);
const auto isVirtualFile = item->_type == ItemTypeVirtualFile || item->_type == ItemTypeVirtualFileDehydration;
const auto isVirtualFile = item->_type == ItemTypeVirtualFile;
const auto shouldAddBulkPropagateDownloadItem = isDownload && isVirtualFile && isVfsCfApi && !directories.isEmpty();

if (shouldAddBulkPropagateDownloadItem) {
Expand Down

0 comments on commit f70206a

Please sign in to comment.