TF-2683 Integrate update always read receipt setting in composer (#2700)

This commit is contained in:
Dat Dang
2024-03-13 14:50:34 +07:00
committed by Dat H. Pham
parent 0d94f523ab
commit ae3f746475
9 changed files with 21 additions and 49 deletions
@@ -735,7 +735,7 @@ class ComposerController extends BaseController {
},
headerUserAgent: {IndividualHeaderIdentifier.headerUserAgent : userAgent},
attachments: attachments.isNotEmpty ? attachments : null,
headerMdn: {IndividualHeaderIdentifier.headerMdn: getEmailAddressSender()},
headerMdn: hasRequestReadReceipt.value ? { IndividualHeaderIdentifier.headerMdn: getEmailAddressSender() } : {},
);
}