From 50adfc6aa435b74095e7c59603390f71e47d2b98 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Thu, 2 May 2024 23:38:29 +0200 Subject: [PATCH] [backend/masto-client] Fix playback of GIF images (ISH-284) --- .../Controllers/Mastodon/Schemas/Entities/AttachmentEntity.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Iceshrimp.Backend/Controllers/Mastodon/Schemas/Entities/AttachmentEntity.cs b/Iceshrimp.Backend/Controllers/Mastodon/Schemas/Entities/AttachmentEntity.cs index 72abd60c..508cc922 100644 --- a/Iceshrimp.Backend/Controllers/Mastodon/Schemas/Entities/AttachmentEntity.cs +++ b/Iceshrimp.Backend/Controllers/Mastodon/Schemas/Entities/AttachmentEntity.cs @@ -21,7 +21,7 @@ public class AttachmentEntity { AttachmentType.Unknown => "unknown", AttachmentType.Image => "image", - AttachmentType.Gif => "gifv", + AttachmentType.Gif => "image", AttachmentType.Video => "video", AttachmentType.Audio => "audio", _ => throw new ArgumentOutOfRangeException()