1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

All: Fixed: Local items were no longer being deleted via sync. Also fixed Nextcloud sync target.

This commit is contained in:
Laurent Cozic
2018-02-18 21:52:07 +00:00
parent 8f4060999f
commit c46d123503
3 changed files with 21 additions and 8 deletions

View File

@ -304,7 +304,13 @@ async function basicDelta(path, getDirStatFn, options) {
newContext.deletedItemsProcessed = true;
const hasMore = output.length >= outputLimit;
if (!hasMore) newContext.statsCache = null;
if (!hasMore) {
// Clear temporary info from context. It's especially important to remove deletedItemsProcessed
// so that they are processed again on the next sync.
newContext.statsCache = null;
delete newContext.deletedItemsProcessed;
}
return {
hasMore: hasMore,