Ensure old attachments with .id field only are handled
This commit is contained in:
parent
a0e9791623
commit
aaa91c441b
2 changed files with 5 additions and 1 deletions
|
@ -387,7 +387,7 @@ function _getExportAttachmentFileName(message, index, attachment) {
|
|||
return _trimFileName(attachment.fileName);
|
||||
}
|
||||
|
||||
let name = attachment.cdnId || attachment.cdnKey;
|
||||
let name = attachment.cdnId || attachment.cdnKey || attachment.id;
|
||||
|
||||
if (attachment.contentType) {
|
||||
const components = attachment.contentType.split('/');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue