mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 04:09:49 +00:00
Add support for receiving attachments from CDN 2
This commit is contained in:
committed by
Scott Nonnenberg
parent
4dc7631851
commit
a0e9791623
@@ -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('/');
|
||||
|
||||
Reference in New Issue
Block a user