This commit is contained in:
M66B 2023-01-09 20:18:08 +01:00
parent 903d7b9ebd
commit 42921571b9
1 changed files with 0 additions and 7 deletions

View File

@ -1184,13 +1184,6 @@ public class FragmentFolders extends FragmentBase {
return 0; return 0;
EntityLog.log(context, "Executing rules count=" + rules.size()); EntityLog.log(context, "Executing rules count=" + rules.size());
for (EntityRule rule : rules) {
JSONObject jcondition = new JSONObject(rule.condition);
JSONObject jheader = jcondition.optJSONObject("header");
if (jheader != null)
throw new IllegalArgumentException(context.getString(R.string.title_rule_no_headers));
}
List<Long> ids = db.message().getMessageIdsByFolder(fid); List<Long> ids = db.message().getMessageIdsByFolder(fid);
if (ids == null) if (ids == null)
return 0; return 0;