Synchronize always more, not less

This commit is contained in:
M66B 2020-12-14 11:58:10 +01:00
parent 768cf7c45a
commit 0b01a88a3c
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,7 @@ public class FragmentFolders extends FragmentBase {
db.folder().setFolderKeep(folder.id, Integer.MAX_VALUE);
} else if (months > 0) {
db.folder().setFolderInitialize(folder.id, months * 30);
db.folder().setFolderKeep(folder.id, months * 30);
db.folder().setFolderKeep(folder.id, Math.max(folder.keep_days, months * 30));
}
EntityOperation.sync(context, folder.id, true);