diff --git a/app/src/main/java/eu/faircode/email/EntityRule.java b/app/src/main/java/eu/faircode/email/EntityRule.java index 7d1136ac66..c4f8a54646 100644 --- a/app/src/main/java/eu/faircode/email/EntityRule.java +++ b/app/src/main/java/eu/faircode/email/EntityRule.java @@ -392,7 +392,7 @@ public class EntityRule { case TYPE_IMPORTANCE: return; case TYPE_KEYWORD: - String keyword = jargs.getString("keyword"); + String keyword = jargs.optString("keyword"); if (TextUtils.isEmpty(keyword)) throw new IllegalArgumentException(context.getString(R.string.title_rule_keyword_missing)); return;