about summary refs log tree commit diff
path: root/bskyembed/src/components/post.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-08-14 21:01:59 +0100
committerGitHub <noreply@github.com>2024-08-14 21:01:59 +0100
commitb6fa0d2d048b3c68d47d6fe502ca1b52096eb4c9 (patch)
treef9085702a4aa0f7bff0b568e2fef4c590f248289 /bskyembed/src/components/post.tsx
parent21e214c23579e5ca45fed3ec563d4010e37562a2 (diff)
downloadvoidsky-b6fa0d2d048b3c68d47d6fe502ca1b52096eb4c9.tar.zst
[Embed] Starter pack embed embed (#4935)
* update @atproto/api

* add starter pack embed

* update depreciated BskyAgent to AtpAgent

* unrelated, but avoid direct import of type

* nits

* rm commented out code

---------

Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
Diffstat (limited to 'bskyembed/src/components/post.tsx')
-rw-r--r--bskyembed/src/components/post.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/bskyembed/src/components/post.tsx b/bskyembed/src/components/post.tsx
index d23c84cbf..1d1e8f4d8 100644
--- a/bskyembed/src/components/post.tsx
+++ b/bskyembed/src/components/post.tsx
@@ -132,7 +132,10 @@ function PostContent({record}: {record: AppBskyFeedPost.Record | null}) {
           key={counter}
           href={segment.link.uri}
           className="text-blue-400 hover:underline"
-          disableTracking={!segment.link.uri.startsWith('https://bsky.app')}>
+          disableTracking={
+            !segment.link.uri.startsWith('https://bsky.app') &&
+            !segment.link.uri.startsWith('https://go.bsky.app')
+          }>
           {segment.text}
         </Link>,
       )