mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 11:28:41 +01:00
Synchronize always more, not less
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user