Show sender/subject when permanently deleting one message

This commit is contained in:
M66B
2024-03-11 13:27:12 +01:00
parent 6f0580c2f1
commit 8e486f0e4f
3 changed files with 23 additions and 11 deletions

View File

@@ -360,6 +360,17 @@ public class EntityMessage implements Serializable {
return recipients;
}
String getRemark() {
StringBuilder sb = new StringBuilder();
sb.append(MessageHelper.formatAddresses(from));
if (!TextUtils.isEmpty(subject)) {
if (sb.length() > 0)
sb.append('\n');
sb.append(subject);
}
return sb.toString();
}
boolean hasKeyword(@NonNull String value) {
// https://tools.ietf.org/html/rfc5788
if (keywords == null)