From 30ba4da0102a0246bf6686cd0171f35721d7b857 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Mon, 17 Aug 2026 18:17:42 +0200 Subject: [PATCH] ViewIcons: fix viewing animated images --- src/plugins/viewIcons/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/viewIcons/index.tsx b/src/plugins/viewIcons/index.tsx index 58688e919..c3c830360 100644 --- a/src/plugins/viewIcons/index.tsx +++ b/src/plugins/viewIcons/index.tsx @@ -44,7 +44,7 @@ interface GroupDMContextProps { const settings = definePluginSettings({ format: { type: OptionType.SELECT, - description: "Choose the image format to use for non animated images. Animated images will always use .gif", + description: "Choose the image format to use for non-animated images. Animated images will always use .webp", options: [ { label: "webp", @@ -86,7 +86,7 @@ function openImage({ url, width, height, event }: OpenImageProps) { const format = url.startsWith("/") ? "png" : u.searchParams.get("animated") === "true" - ? "gif" + ? "webp" : settings.store.format; u.searchParams.set("size", settings.store.imgSize);