mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Disable inline rendering of SVG attachments
Like TIFF, they are now treated as binary files.
This commit is contained in:
@@ -9,7 +9,8 @@ const SUPPORTED_IMAGE_MIME_TYPES: MIMETypeSupportMap = {
|
||||
'image/bmp': true,
|
||||
'image/gif': true,
|
||||
'image/jpeg': true,
|
||||
'image/svg+xml': true,
|
||||
// No need to support SVG
|
||||
'image/svg+xml': false,
|
||||
'image/webp': true,
|
||||
'image/x-xbitmap': true,
|
||||
// ICO
|
||||
|
||||
Reference in New Issue
Block a user