diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-03-21 13:51:27 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-03-21 13:51:27 -0500 |
commit | 48e18662f69530d5c201d08014a039126c88e7dd (patch) | |
tree | 56a19b9b9b92c45f1b1108ec94c0894ec2f4e68e /src | |
parent | eab855ffffcb7e9aae0c5e9a72056dc4fcd5e430 (diff) | |
download | voidsky-48e18662f69530d5c201d08014a039126c88e7dd.tar.zst |
Fix bug in checking for latest
Diffstat (limited to 'src')
-rw-r--r-- | src/state/models/feed-view.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/state/models/feed-view.ts b/src/state/models/feed-view.ts index 075016c12..e40539d5d 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 |