mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 10:17:18 +00:00
Expression: plain text for subject and text
This commit is contained in:
parent
9bac559ee0
commit
9b8638f3f4
1 changed files with 2 additions and 2 deletions
|
@ -795,8 +795,8 @@ public class EntityRule {
|
|||
Expression expression = new Expression(eval, configuration)
|
||||
.with("to", to)
|
||||
.with("from", from)
|
||||
.with("subject", message == null ? null : Arrays.asList(message.subject))
|
||||
.with("text", doc == null ? null : Arrays.asList(doc.text()));
|
||||
.with("subject", message == null ? null : message.subject)
|
||||
.with("text", doc == null ? null : doc.text());
|
||||
|
||||
if (message != null) {
|
||||
boolean hasAttachments = false;
|
||||
|
|
Loading…
Reference in a new issue