mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 00:53:26 +02:00
Added rule condition $$automatic
This commit is contained in:
@@ -298,6 +298,9 @@ public class EntityRule {
|
||||
} else if ("$multifrom".equals(keyword)) {
|
||||
if (message.from == null || message.from.length < 2)
|
||||
return false;
|
||||
} else if ("$automatic".equals(keyword)) {
|
||||
if (!Boolean.TRUE.equals(message.auto_submitted))
|
||||
return false;
|
||||
} else {
|
||||
List<String> keywords = new ArrayList<>();
|
||||
keywords.addAll(Arrays.asList(message.keywords));
|
||||
|
||||
Reference in New Issue
Block a user