about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-01-03 11:26:51 -0600
committerPaul Frazee <pfrazee@gmail.com>2023-01-03 11:26:51 -0600
commit147b85c7fb37d3bfd95ab698b0eace35bb5475b3 (patch)
tree3fdd085323debcd4d5697b1983cacecc8b32d2f4
parent42d7dc1c6c7137854c07523f67937f3eea86346d (diff)
downloadvoidsky-147b85c7fb37d3bfd95ab698b0eace35bb5475b3.tar.zst
Fix to feed update
-rw-r--r--src/state/models/feed-view.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/models/feed-view.ts b/src/state/models/feed-view.ts
index 28f1d77a3..68738d725 100644
--- a/src/state/models/feed-view.ts
+++ b/src/state/models/feed-view.ts
@@ -477,7 +477,7 @@ export class FeedModel {
       const existingItem = this.feed.find(
         // HACK: need to find the reposts and trends item, so we have to check for that -prf
         item2 =>
-          item.uri === item2.post.uri &&
+          item.post.uri === item2.post.uri &&
           item.reason?.$trend === item2.reason?.$trend &&
           // @ts-ignore todo
           item.reason?.by?.did === item2.reason?.by?.did,