mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 13:24:52 +02:00
Export answer/external
This commit is contained in:
@@ -134,6 +134,7 @@ public class EntityAnswer implements Serializable {
|
||||
json.put("receipt", receipt);
|
||||
json.put("favorite", favorite);
|
||||
json.put("hide", hide);
|
||||
json.put("external", external);
|
||||
json.put("text", text);
|
||||
json.put("applied", applied);
|
||||
json.put("last_applied", last_applied);
|
||||
@@ -149,6 +150,7 @@ public class EntityAnswer implements Serializable {
|
||||
answer.receipt = json.optBoolean("receipt");
|
||||
answer.favorite = json.optBoolean("favorite");
|
||||
answer.hide = json.optBoolean("hide");
|
||||
answer.external = json.optBoolean("external");
|
||||
answer.text = json.getString("text");
|
||||
answer.applied = json.optInt("applied", 0);
|
||||
if (json.has("last_applied") && !json.isNull("last_applied"))
|
||||
|
||||
Reference in New Issue
Block a user