Reset folder sync state on unrecoverable sync

This commit is contained in:
M66B 2019-04-30 12:21:26 +02:00
parent 259a67799d
commit e7fa7b83c4
1 changed files with 4 additions and 0 deletions

View File

@ -248,6 +248,10 @@ class Core {
// There is no use in repeating
db.operation().deleteOperation(op.id);
// Cleanup
if (EntityOperation.SYNC.equals(op.name))
db.folder().setFolderSyncState(folder.id, null);
// Cleanup
if (message != null) {
if (ex instanceof MessageRemovedException)