Make sure to include new metadatas in folders to scan for changes in recursive scan of NextcloudSyncEngine

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-03-18 20:11:36 +01:00
parent 34a43fea69
commit 27a177ab35
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -174,7 +174,7 @@ class NextcloudSyncEngine : NSObject {
var candidateMetadatas: [NextcloudItemMetadataTable]
if scanChangesOnly {
candidateMetadatas = allUpdatedMetadatas
candidateMetadatas = allUpdatedMetadatas + allNewMetadatas
} else {
candidateMetadatas = allMetadatas
}