mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Label classified messages
This commit is contained in:
@@ -282,10 +282,10 @@ public class EntityMessage implements Serializable {
|
||||
return addresses.toArray(new Address[0]);
|
||||
}
|
||||
|
||||
boolean isForwarded() {
|
||||
boolean hasKeyword(@NonNull String value) {
|
||||
if (keywords != null)
|
||||
for (String keyword : keywords)
|
||||
if ("$Forwarded".equalsIgnoreCase(keyword))
|
||||
if (value.equalsIgnoreCase(keyword))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user