mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 17:40:34 +01:00
Simplification
This commit is contained in:
@@ -347,10 +347,7 @@ public class EntityRule {
|
||||
}
|
||||
|
||||
// Body
|
||||
JSONObject jbody = null;
|
||||
if (message.encrypt == null ||
|
||||
EntityMessage.ENCRYPT_NONE.equals(message.encrypt))
|
||||
jbody = jcondition.optJSONObject("body");
|
||||
JSONObject jbody = jcondition.optJSONObject("body");
|
||||
if (jbody != null) {
|
||||
String value = jbody.getString("value");
|
||||
boolean regex = jbody.getBoolean("regex");
|
||||
|
||||
Reference in New Issue
Block a user