TF-106 Fix display inlined image CIDs of emails

This commit is contained in:
dab246
2021-10-18 14:46:11 +07:00
committed by Dat H. Pham
parent 1432cb0209
commit 60ffa5ace0
25 changed files with 202 additions and 81 deletions
+2
View File
@@ -27,6 +27,8 @@ class Attachment with EquatableMixin {
this.disposition,
});
bool cidNotEmpty() => cid != null && cid!.isNotEmpty;
String getDownloadUrl(String baseDownloadUrl, AccountId accountId) {
final downloadUriTemplate = UriTemplate('$baseDownloadUrl');
final downloadUri = downloadUriTemplate.expand({