mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 10:17:18 +00:00
Simplification
This commit is contained in:
parent
66fa181cb5
commit
f5a9d4afef
1 changed files with 1 additions and 4 deletions
|
@ -347,10 +347,7 @@ public class EntityRule {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Body
|
// Body
|
||||||
JSONObject jbody = null;
|
JSONObject jbody = jcondition.optJSONObject("body");
|
||||||
if (message.encrypt == null ||
|
|
||||||
EntityMessage.ENCRYPT_NONE.equals(message.encrypt))
|
|
||||||
jbody = jcondition.optJSONObject("body");
|
|
||||||
if (jbody != null) {
|
if (jbody != null) {
|
||||||
String value = jbody.getString("value");
|
String value = jbody.getString("value");
|
||||||
boolean regex = jbody.getBoolean("regex");
|
boolean regex = jbody.getBoolean("regex");
|
||||||
|
|
Loading…
Reference in a new issue