about summary refs log tree commit diff
path: root/src/lib/api/feed-manip.ts
diff options
context:
space:
mode:
authorChris Kanich <kaytwo@gmail.com>2025-01-21 14:08:37 -0600
committerGitHub <noreply@github.com>2025-01-21 20:08:37 +0000
commit8e00f044fea7bd3f430b176a5226a725245428eb (patch)
tree9536ed21abb71d96ac3cbaa151e0ba68387f3b4a /src/lib/api/feed-manip.ts
parent45b5af604a17c42a9999ed94b8e981259f2cc2d1 (diff)
downloadvoidsky-8e00f044fea7bd3f430b176a5226a725245428eb.tar.zst
show video feeds from posts even if they are replies (#7516)
* show video feeds from posts even if they are replies

* only show feed post in VideoFeed
Diffstat (limited to 'src/lib/api/feed-manip.ts')
-rw-r--r--src/lib/api/feed-manip.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/api/feed-manip.ts b/src/lib/api/feed-manip.ts
index 0eca8b165..4aa20fd12 100644
--- a/src/lib/api/feed-manip.ts
+++ b/src/lib/api/feed-manip.ts
@@ -41,6 +41,7 @@ export class FeedViewPostsSlice {
   isFallbackMarker: boolean
   isOrphan: boolean
   rootUri: string
+  feedPostUri: string
 
   constructor(feedPost: FeedViewPost) {
     const {post, reply, reason} = feedPost
@@ -48,6 +49,7 @@ export class FeedViewPostsSlice {
     this.isIncompleteThread = false
     this.isFallbackMarker = false
     this.isOrphan = false
+    this.feedPostUri = post.uri
     if (AppBskyFeedDefs.isPostView(reply?.root)) {
       this.rootUri = reply.root.uri
     } else {