mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-02 06:02:53 +02:00
Fix incorrect id tag
* Fix incorrect id tage when checking database if item exists
This commit is contained in:
parent
8b0e9513e3
commit
0b1ca6dbfd
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue