diff --git a/app/src/main/java/eu/faircode/email/EntityRule.java b/app/src/main/java/eu/faircode/email/EntityRule.java index ffca8d3871..19563f04e7 100644 --- a/app/src/main/java/eu/faircode/email/EntityRule.java +++ b/app/src/main/java/eu/faircode/email/EntityRule.java @@ -500,7 +500,7 @@ public class EntityRule { private boolean onActionImportance(Context context, EntityMessage message, JSONObject jargs) throws JSONException { Integer importance = jargs.getInt("value"); - if (importance == EntityMessage.PRIORITIY_NORMAL) + if (EntityMessage.PRIORITIY_NORMAL.equals(importance)) importance = null; DB db = DB.getInstance(context);