diff --git a/src/sync.d b/src/sync.d index 40f92330..a481ffba 100644 --- a/src/sync.d +++ b/src/sync.d @@ -23,7 +23,7 @@ private bool isItemFile(const ref JSONValue item) private bool isItemDeleted(const ref JSONValue item) { // HACK: fix for https://github.com/skilion/onedrive/issues/157 - return ("deleted" in item) || ("fileSystemInfo" !in item); + return ("deleted" in item) || ("fileSystemInfo" !in item && "remoteItem" !in item); } private bool isItemRoot(const ref JSONValue item)