Skip to content

Commit

Permalink
Expression: plain text for subject and text
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed Apr 19, 2024
1 parent 9bac559 commit 9b8638f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/eu/faircode/email/EntityRule.java
Original file line number Diff line number Diff line change
Expand Up @@ -795,8 +795,8 @@ static Expression getExpression(EntityRule rule, EntityMessage message, List<Hea
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;
Expand Down

0 comments on commit 9b8638f

Please sign in to comment.