mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Export/import rule/applied
This commit is contained in:
@@ -555,6 +555,7 @@ public class EntityRule {
|
||||
json.put("stop", stop);
|
||||
json.put("condition", condition);
|
||||
json.put("action", action);
|
||||
json.put("applied", applied);
|
||||
return json;
|
||||
}
|
||||
|
||||
@@ -567,6 +568,7 @@ public class EntityRule {
|
||||
rule.stop = json.getBoolean("stop");
|
||||
rule.condition = json.getString("condition");
|
||||
rule.action = json.getString("action");
|
||||
rule.applied = json.optInt("applied", 0);
|
||||
return rule;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user