From 0fddf188e1593d644e2b022e48e29fca6e7322a3 Mon Sep 17 00:00:00 2001 From: Med Marrouchi Date: Wed, 16 Apr 2025 09:22:52 +0100 Subject: [PATCH] Add missing support for GIF upload --- frontend/src/utils/attachment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/utils/attachment.ts b/frontend/src/utils/attachment.ts index b68cfd59..2338695a 100644 --- a/frontend/src/utils/attachment.ts +++ b/frontend/src/utils/attachment.ts @@ -12,7 +12,7 @@ import { FileType, TAttachmentForeignKey } from "@/types/message.types"; import { buildURL } from "./URL"; export const MIME_TYPES = { - images: ["image/jpeg", "image/png", "image/webp", "image/bmp"], + images: ["image/jpeg", "image/png", "image/webp", "image/bmp", "image/gif"], videos: [ "video/mp4", "video/webm",