mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 23:50:58 +01:00
Export poll factor
This commit is contained in:
@@ -402,6 +402,7 @@ public class EntityFolder extends EntityOrder implements Serializable {
|
||||
json.put("type", type);
|
||||
json.put("synchronize", synchronize);
|
||||
json.put("poll", poll);
|
||||
json.put("poll_factor", poll_factor);
|
||||
json.put("download", download);
|
||||
json.put("sync_days", sync_days);
|
||||
json.put("keep_days", keep_days);
|
||||
@@ -431,6 +432,8 @@ public class EntityFolder extends EntityOrder implements Serializable {
|
||||
|
||||
if (json.has("poll"))
|
||||
folder.poll = json.getBoolean("poll");
|
||||
if (json.has("poll_factor"))
|
||||
folder.poll_factor = json.getInt("poll_factor");
|
||||
|
||||
if (json.has("download"))
|
||||
folder.download = json.getBoolean("download");
|
||||
|
||||
Reference in New Issue
Block a user