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.
This commit is contained in:
@@ -245,7 +245,7 @@ export function ChatArea() {
|
||||
|
||||
const handleGifSelect = async (gif: Gif) => {
|
||||
if (!activeChannelId) return;
|
||||
const content = ``;
|
||||
const content = ``;
|
||||
try {
|
||||
await sendMessage(activeChannelId, content);
|
||||
setShowGifPicker(false);
|
||||
|
||||
Reference in New Issue
Block a user