mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Treat tiffs like unrecognized files; Chrome doesn't render them (#1901)
This commit is contained in:
@@ -130,7 +130,8 @@
|
||||
return this.model.contentType.startsWith('video/');
|
||||
},
|
||||
isImage: function() {
|
||||
return this.model.contentType.startsWith('image/');
|
||||
var type = this.model.contentType;
|
||||
return type.startsWith('image/') && type !== 'image/tiff';
|
||||
},
|
||||
mediaType: function() {
|
||||
if (this.isVoiceMessage()) {
|
||||
|
||||
Reference in New Issue
Block a user