From 8e00f044fea7bd3f430b176a5226a725245428eb Mon Sep 17 00:00:00 2001 From: Chris Kanich Date: Tue, 21 Jan 2025 14:08:37 -0600 Subject: 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 --- src/view/com/posts/PostFeed.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/view/com/posts/PostFeed.tsx') diff --git a/src/view/com/posts/PostFeed.tsx b/src/view/com/posts/PostFeed.tsx index 4bd971b3f..67ecfa25a 100644 --- a/src/view/com/posts/PostFeed.tsx +++ b/src/view/com/posts/PostFeed.tsx @@ -347,7 +347,9 @@ let PostFeed = ({ }[] = [] for (const page of data.pages) { for (const slice of page.slices) { - const item = slice.items.at(0) + const item = slice.items.find( + item => item.uri === slice.feedPostUri, + ) if (item && AppBskyEmbedVideo.isView(item.post.embed)) { videos.push({item, feedContext: slice.feedContext}) } -- cgit 1.4.1