From ecb26cb731041c222da4f2a4088561b52385d27f Mon Sep 17 00:00:00 2001 From: hobokenchicken Date: Thu, 2 Jul 2026 08:06:31 -0400 Subject: [PATCH] fix: use gif image URL instead of giphy page URL in messages gif.url is the giphy.com page link, gif.images.fixed_height.url is the actual media CDN URL. react-markdown was rendering a dead link instead of an embedded image. --- web/src/components/ChatArea.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/ChatArea.tsx b/web/src/components/ChatArea.tsx index 9dd1f58..18134ff 100644 --- a/web/src/components/ChatArea.tsx +++ b/web/src/components/ChatArea.tsx @@ -245,7 +245,7 @@ export function ChatArea() { const handleGifSelect = async (gif: Gif) => { if (!activeChannelId) return; - const content = `![${gif.title || "GIF"}](${gif.url})`; + const content = `![${gif.title || "GIF"}](${gif.images.fixed_height.url})`; try { await sendMessage(activeChannelId, content); setShowGifPicker(false);