Expression: plain text for subject and text

pull/215/head
M66B 1 year ago
parent 9bac559ee0
commit 9b8638f3f4

@ -795,8 +795,8 @@ public class EntityRule {
Expression expression = new Expression(eval, configuration) Expression expression = new Expression(eval, configuration)
.with("to", to) .with("to", to)
.with("from", from) .with("from", from)
.with("subject", message == null ? null : Arrays.asList(message.subject)) .with("subject", message == null ? null : message.subject)
.with("text", doc == null ? null : Arrays.asList(doc.text())); .with("text", doc == null ? null : doc.text());
if (message != null) { if (message != null) {
boolean hasAttachments = false; boolean hasAttachments = false;

Loading…
Cancel
Save