This commit is contained in:
parent
c3dfb2e48d
commit
c84ff140ca
1 changed files with 3 additions and 1 deletions
|
@ -99,7 +99,9 @@ class Post {
|
|||
}
|
||||
break;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue