mirror of https://github.com/M66B/FairEmail.git
Reset folder sync state on unrecoverable sync
This commit is contained in:
parent
259a67799d
commit
e7fa7b83c4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue