GIF fix for safari

This commit is contained in:
Astra 2025-05-11 00:56:39 +09:00
parent c3dfb2e48d
commit c84ff140ca
No known key found for this signature in database

View file

@ -99,7 +99,9 @@ class Post {
} }
break; break;
case "app.bsky.embed.external": // assuming that external embeds are gifs for now case "app.bsky.embed.external": // assuming that external embeds are gifs for now
this.gifLink = post.embed.external.uri; if (post.embed.external.uri.includes(".gif")) {
this.gifLink = post.embed.external.uri;
}
break; break;
} }
} }