1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Get it working with deleted items

This commit is contained in:
Laurent Cozic
2017-01-09 22:14:32 +01:00
parent 28320ace18
commit 11115077d5
2 changed files with 20 additions and 12 deletions

View File

@ -225,6 +225,12 @@ void Synchronizer::api_requestDone(const QJsonObject& response, const QString& t
folder.patchJsonObject(item);
folder.save(false);
}
if (operationType == "delete") {
Folder folder;
folder.load(itemId);
folder.dispose();
}
}
if (revId > maxRevId) maxRevId = revId;