mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-01 05:22:14 +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;
|
string oldPath;
|
||||||
if (cached && item.eTag != oldItem.eTag) {
|
if (cached && item.eTag != oldItem.eTag) {
|
||||||
// Is the item in the local database
|
// 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);
|
oldPath = itemdb.computePath(item.driveId, item.id);
|
||||||
if (!isItemSynced(oldItem, oldPath)) {
|
if (!isItemSynced(oldItem, oldPath)) {
|
||||||
log.vlog("The local item is unsynced, renaming");
|
log.vlog("The local item is unsynced, renaming");
|
||||||
|
|
Loading…
Reference in a new issue