1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 09:47:13 +00:00

Export/import noop option

This commit is contained in:
M66B 2022-10-09 21:55:57 +02:00
parent 4657dd92e0
commit c65f877249

View file

@ -307,6 +307,7 @@ public class EntityAccount extends EntityOrder implements Serializable {
json.put("move_to", move_to);
json.put("poll_interval", poll_interval);
json.put("keep_alive_noop", keep_alive_noop);
json.put("partial_fetch", partial_fetch);
json.put("ignore_size", ignore_size);
json.put("use_date", use_date);
@ -396,6 +397,7 @@ public class EntityAccount extends EntityOrder implements Serializable {
account.move_to = json.getLong("move_to");
account.poll_interval = json.getInt("poll_interval");
account.keep_alive_noop = json.optBoolean("keep_alive_noop");
account.partial_fetch = json.optBoolean("partial_fetch", true);
account.ignore_size = json.optBoolean("ignore_size", false);