From 0b1ca6dbfd5e1d8d5dc468522512dbc52bfabc5a Mon Sep 17 00:00:00 2001 From: abraunegg Date: Tue, 15 May 2018 07:15:54 +1000 Subject: [PATCH] Fix incorrect id tag * Fix incorrect id tage when checking database if item exists --- src/sync.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sync.d b/src/sync.d index b9837b13..65b93df6 100644 --- a/src/sync.d +++ b/src/sync.d @@ -491,7 +491,7 @@ final class SyncEngine string oldPath; if (cached && item.eTag != oldItem.eTag) { // Is the item in the local database - if (itemdb.idInLocalDatabase(item.driveId, item.parentId)){ + if (itemdb.idInLocalDatabase(item.driveId, item.id)){ oldPath = itemdb.computePath(item.driveId, item.id); if (!isItemSynced(oldItem, oldPath)) { log.vlog("The local item is unsynced, renaming");