Added forwarded indication

This commit is contained in:
M66B
2020-05-06 14:27:28 +02:00
parent fa5f343c59
commit 877221cd40
5 changed files with 51 additions and 2 deletions

View File

@@ -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;