mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
GIF attachments
This commit is contained in:
committed by
Scott Nonnenberg
parent
5f17d01f49
commit
caf1d4c4da
@@ -1477,7 +1477,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
||||
const attachment = attachments[0] || {};
|
||||
const { contentType } = attachment;
|
||||
|
||||
if (contentType === MIME.IMAGE_GIF) {
|
||||
if (contentType === MIME.IMAGE_GIF || Attachment.isGIF(attachments)) {
|
||||
return {
|
||||
text: body || window.i18n('message--getNotificationText--gif'),
|
||||
emoji: '🎡',
|
||||
|
||||
Reference in New Issue
Block a user