mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Added forwarded indication
This commit is contained in:
@@ -218,6 +218,14 @@ public class EntityMessage implements Serializable {
|
||||
return addresses.toArray(new Address[0]);
|
||||
}
|
||||
|
||||
boolean isForwarded() {
|
||||
if (keywords != null)
|
||||
for (String keyword : keywords)
|
||||
if ("$Forwarded".equalsIgnoreCase(keyword))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
String getNotificationChannelId() {
|
||||
if (from == null || from.length == 0)
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user