mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 05:25:50 +03:00
New disco algo: Fix TestSyncFileStatusTracker
This commit is contained in:
parent
f926248937
commit
710934bdbd
1 changed files with 5 additions and 9 deletions
|
@ -440,6 +440,11 @@ void OCC::SyncEngine::slotItemDiscovered(const OCC::SyncFileItemPtr &item)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// check for blacklisting of this item.
|
||||
// if the item is on blacklist, the instruction was set to ERROR
|
||||
checkErrorBlacklisting(*item);
|
||||
_needsUpdate = true;
|
||||
_syncItems.append(item);
|
||||
slotNewItem(item);
|
||||
}
|
||||
|
@ -607,15 +612,6 @@ int SyncEngine::treewalkFile(csync_file_stat_t * /*file*/, csync_file_stat_t * /
|
|||
break;
|
||||
}
|
||||
|
||||
item->_direction = dir;
|
||||
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);
|
||||
}
|
||||
|
||||
_needsUpdate = true;
|
||||
|
||||
|
||||
|
||||
slotNewItem(item);
|
||||
|
|
Loading…
Reference in a new issue