mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 14:05:58 +03:00
Sync engine: Check the blacklist for the right tree
When the operation is download, we have a INSTRUCTION_NONE for the local tree, but we should not check the blacklist just yet.
This commit is contained in:
parent
0bd2edd33a
commit
dafc2d2b73
1 changed files with 5 additions and 3 deletions
|
@ -484,9 +484,11 @@ int SyncEngine::treewalkFile( TREE_WALK_FILE *file, bool remote )
|
|||
}
|
||||
|
||||
item._direction = dir;
|
||||
// check for blacklisting of this item.
|
||||
// if the item is on blacklist, the instruction was set to IGNORE
|
||||
checkErrorBlacklisting( &item );
|
||||
if (instruction != CSYNC_INSTRUCTION_NONE) {
|
||||
// check for blacklisting of this item.
|
||||
// if the item is on blacklist, the instruction was set to ERROR
|
||||
checkErrorBlacklisting( &item );
|
||||
}
|
||||
|
||||
if (!item._isDirectory) {
|
||||
_progressInfo._totalFileCount++;
|
||||
|
|
Loading…
Reference in a new issue