From 48e18662f69530d5c201d08014a039126c88e7dd Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 21 Mar 2023 13:51:27 -0500 Subject: [PATCH] Fix bug in checking for latest --- src/state/models/feed-view.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/state/models/feed-view.ts b/src/state/models/feed-view.ts index 075016c1..e40539d5 100644 --- a/src/state/models/feed-view.ts +++ b/src/state/models/feed-view.ts @@ -491,15 +491,10 @@ export class FeedModel { } const res = await this._getFeed({limit: 1}) const currentLatestUri = this.pollCursor - const slices = this.tuner.tune(res.data.feed, this.feedTuners) - const item = slices[0]?.rootItem + const item = res.data.feed?.[0] if (!item) { return } - if (item.reply) { - // TEMPORARY ignore replies - return - } if (AppBskyFeedFeedViewPost.isReasonRepost(item.reason)) { if (item.reason.by.did === this.rootStore.me.did) { return // ignore reposts by the user