mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 09:31:11 +01:00
Default init number of days to keep
This commit is contained in:
@@ -153,7 +153,6 @@ public class EntityFolder extends EntityOrder implements Serializable {
|
||||
USER
|
||||
));
|
||||
|
||||
static final int DEFAULT_INIT = 14; // days
|
||||
static final int DEFAULT_SYNC = 7; // days
|
||||
static final int DEFAULT_KEEP = 30; // days
|
||||
|
||||
@@ -190,7 +189,7 @@ public class EntityFolder extends EntityOrder implements Serializable {
|
||||
}
|
||||
|
||||
JSONArray jargs = new JSONArray();
|
||||
jargs.put(initialize ? Math.min(DEFAULT_INIT, keep_days) : days);
|
||||
jargs.put(initialize ? keep_days : days);
|
||||
jargs.put(keep_days);
|
||||
jargs.put(download);
|
||||
jargs.put(auto_delete);
|
||||
|
||||
Reference in New Issue
Block a user