Add support for receiving attachments from CDN 2
This commit is contained in:
parent
4dc7631851
commit
a0e9791623
16 changed files with 156 additions and 64 deletions
|
@ -387,7 +387,7 @@ function _getExportAttachmentFileName(message, index, attachment) {
|
|||
return _trimFileName(attachment.fileName);
|
||||
}
|
||||
|
||||
let name = attachment.id;
|
||||
let name = attachment.cdnId || attachment.cdnKey;
|
||||
|
||||
if (attachment.contentType) {
|
||||
const components = attachment.contentType.split('/');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue