Reset account/identity/folder error on save

This commit is contained in:
M66B
2018-12-23 08:31:24 +00:00
parent db1443ad33
commit 51fa384ee9
3 changed files with 5 additions and 9 deletions

View File

@@ -222,12 +222,10 @@ public class FragmentFolder extends FragmentEx {
display, unified, notify, hide,
synchronize, poll, download,
sync_days, keep_days);
db.folder().setFolderError(id, null);
db.message().deleteMessagesBefore(id, keep_time, true);
if (!synchronize)
db.folder().setFolderError(id, null);
EntityOperation.sync(db, folder.id);
}