From 072e058764f03056bd62e5a93758f463c9032707 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 8 Feb 2023 12:50:18 -0600 Subject: [PATCH] ChatUploadPreview: support gif attachments --- app/soapbox/features/chats/components/chat-upload-preview.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/soapbox/features/chats/components/chat-upload-preview.tsx b/app/soapbox/features/chats/components/chat-upload-preview.tsx index 14864fd91..a67d470b6 100644 --- a/app/soapbox/features/chats/components/chat-upload-preview.tsx +++ b/app/soapbox/features/chats/components/chat-upload-preview.tsx @@ -21,6 +21,7 @@ const ChatUploadPreview: React.FC = ({ className, attachment switch (attachment.type) { case 'image': + case 'gifv': return (