mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-15 20:26:53 +02:00
fix bug where remote items are wrongly identified as deleted
This commit is contained in:
parent
4f542800a7
commit
c5a9b8b480
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue