TF-3791 Fix email in sending queue lost Request read receipt status

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-06-20 12:00:48 +07:00
committed by Dat H. Pham
parent 3963759b46
commit 88b04ea0da
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ extension EmailExtension on Email {
String get listUnsubscribe => headers.listUnsubscribe;
bool get hasRequestReadReceipt => headers.readReceiptHasBeenRequested;
bool get hasRequestReadReceipt => headers.readReceiptHasBeenRequested ||
headerMdn?.containsKey(IndividualHeaderIdentifier.headerMdn) == true;
bool get hasListUnsubscribe => listUnsubscribe.isNotEmpty;