mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 08:32:16 +01:00
Export/import account move to
This commit is contained in:
@@ -180,6 +180,8 @@ public class EntityAccount extends EntityOrder implements Serializable {
|
||||
json.put("swipe_left", swipe_left);
|
||||
json.put("swipe_right", swipe_right);
|
||||
|
||||
json.put("move_to", move_to);
|
||||
|
||||
json.put("poll_interval", poll_interval);
|
||||
json.put("partial_fetch", partial_fetch);
|
||||
json.put("ignore_size", ignore_size);
|
||||
@@ -233,6 +235,9 @@ public class EntityAccount extends EntityOrder implements Serializable {
|
||||
if (json.has("swipe_right"))
|
||||
account.swipe_right = json.getLong("swipe_right");
|
||||
|
||||
if (json.has("move_to"))
|
||||
account.move_to = json.getLong("move_to");
|
||||
|
||||
account.poll_interval = json.getInt("poll_interval");
|
||||
|
||||
account.partial_fetch = json.optBoolean("partial_fetch", true);
|
||||
|
||||
Reference in New Issue
Block a user