Defer download on initialize

This commit is contained in:
M66B
2019-07-11 11:51:21 +02:00
parent d28635d13a
commit 6926933094
2 changed files with 15 additions and 3 deletions

View File

@@ -191,7 +191,7 @@ public class EntityFolder extends EntityOrder implements Serializable {
}
JSONArray jargs = new JSONArray();
jargs.put(initialize == 0 ? days : Math.max(keep_days, initialize));
jargs.put(initialize == 0 ? days : Math.min(keep_days, initialize));
jargs.put(keep_days);
jargs.put(download);
jargs.put(auto_delete);