mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-23 03:39:44 +00:00
Prefer GoogleChrome.is* over MIME.is*
This commit is contained in:
@@ -429,7 +429,7 @@
|
||||
}
|
||||
|
||||
const first = attachments[0];
|
||||
if (Signal.Types.MIME.isImage(first.contentType)) {
|
||||
if (Signal.Util.GoogleChrome.isImageTypeSupported(first.contentType)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user