about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-03-21 13:51:27 -0500
committerPaul Frazee <pfrazee@gmail.com>2023-03-21 13:51:27 -0500
commit48e18662f69530d5c201d08014a039126c88e7dd (patch)
tree56a19b9b9b92c45f1b1108ec94c0894ec2f4e68e /src
parenteab855ffffcb7e9aae0c5e9a72056dc4fcd5e430 (diff)
downloadvoidsky-48e18662f69530d5c201d08014a039126c88e7dd.tar.zst
Fix bug in checking for latest
Diffstat (limited to 'src')
-rw-r--r--src/state/models/feed-view.ts7
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