mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-19 14:15:25 +02:00
Query for all changes if using sync_list file (#659)
* If we are using a sync_list file, using deltaLink will actually 'miss' changes (moves & deletes) on OneDrive as using sync_list discards changes
This commit is contained in:
parent
e32b8b3c7f
commit
2abc05af1d
|
@ -590,7 +590,14 @@ final class SyncEngine
|
|||
{
|
||||
log.vlog("Applying changes of Path ID: " ~ id);
|
||||
JSONValue changes;
|
||||
string deltaLink = itemdb.getDeltaLink(driveId, id);
|
||||
|
||||
// If we are using a sync_list file, using deltaLink will actually 'miss' changes (moves & deletes) on OneDrive as using sync_list discards changes
|
||||
string deltaLink = "";
|
||||
string userSyncList = cfg.configDirName ~ "/sync_list";
|
||||
if (!exists(userSyncList)){
|
||||
// not using sync_list file, use the delta link
|
||||
deltaLink = itemdb.getDeltaLink(driveId, id);
|
||||
}
|
||||
|
||||
// Query the name of this folder id
|
||||
string syncFolderName;
|
||||
|
|
Loading…
Reference in a new issue