TF-2331 Fix Read receipt includes weird attachments that are impossible to download
(cherry picked from commit 72ae6553ea53fa4bbba74bfdb1c9a3ec82103fc0)
This commit is contained in:
@@ -61,13 +61,13 @@ class GetEmailContentInteractor {
|
||||
|
||||
yield Right<Failure, Success>(GetEmailContentSuccess(
|
||||
htmlEmailContent: newEmailContents.asHtmlString,
|
||||
attachments: email.allAttachments,
|
||||
attachments: email.allAttachments.getListAttachmentsDisplayedOutside(email.htmlBodyAttachments),
|
||||
emailCurrent: email
|
||||
));
|
||||
} else {
|
||||
yield Right<Failure, Success>(GetEmailContentSuccess(
|
||||
htmlEmailContent: '',
|
||||
attachments: email.allAttachments,
|
||||
attachments: email.allAttachments.getListAttachmentsDisplayedOutside(email.htmlBodyAttachments),
|
||||
emailCurrent: email
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user