mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +00:00
Fixed importing rules
This commit is contained in:
parent
9d716427ba
commit
4d43d05587
1 changed files with 2 additions and 1 deletions
|
@ -1485,7 +1485,8 @@ public class EntityRule {
|
|||
if (json.has("uuid"))
|
||||
rule.uuid = json.getString("uuid");
|
||||
rule.name = json.getString("name");
|
||||
rule.group = json.getString("group");
|
||||
if (json.has("group") && !json.isNull("group"))
|
||||
rule.group = json.getString("group");
|
||||
rule.order = json.getInt("order");
|
||||
rule.enabled = json.getBoolean("enabled");
|
||||
rule.daily = json.optBoolean("daily");
|
||||
|
|
Loading…
Reference in a new issue