mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 09:03:56 +02:00
Allow JSoup as note text
This commit is contained in:
@@ -1509,6 +1509,16 @@ public class FragmentRule extends FragmentBase {
|
||||
JSONObject jdate = jcondition.optJSONObject("date");
|
||||
JSONObject jschedule = jcondition.optJSONObject("schedule");
|
||||
|
||||
JSONObject jaction = new JSONObject(action);
|
||||
int type = jaction.getInt("type");
|
||||
if (type == EntityRule.TYPE_NOTES) {
|
||||
String notes = jaction.optString("notes");
|
||||
if (notes.startsWith(EntityRule.JSOUP_PREFIX)) {
|
||||
jcondition.put("notes_jsoup", true);
|
||||
condition = jcondition.toString();
|
||||
}
|
||||
}
|
||||
|
||||
if (jsender == null &&
|
||||
jrecipient == null &&
|
||||
jsubject == null &&
|
||||
|
||||
Reference in New Issue
Block a user