mirror of https://github.com/M66B/FairEmail.git
Default init number of days to keep
This commit is contained in:
parent
5a2a330574
commit
1f07ecc025
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue