From c5a9b8b4802701247ce5075e4acdbe3ca03ae5e5 Mon Sep 17 00:00:00 2001 From: skilion Date: Mon, 12 Jun 2017 16:53:15 +0200 Subject: [PATCH] fix bug where remote items are wrongly identified as deleted --- src/sync.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)