Skip to content

Commit

Permalink
Merge branch 'main' into morriscode-patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscode authored Sep 20, 2023
2 parents 5b75f1f + 822924b commit ad89c55
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ source: |
)
// negating legit replies
and not (
strings.istarts_with(subject.subject, "RE:")
(
strings.istarts_with(subject.subject, "RE:")
// out of office auto-reply
// the NLU model will handle these better natively soon
or strings.istarts_with(subject.subject, "Automatic reply:")
)
and (
length(headers.references) > 0
or any(headers.hops, any(.fields, strings.ilike(.name, "In-Reply-To")))
Expand Down

0 comments on commit ad89c55

Please sign in to comment.