Fix to feed update

zio/stable
Paul Frazee 2023-01-03 11:26:51 -06:00
parent 42d7dc1c6c
commit 147b85c7fb
1 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ export class FeedModel {
const existingItem = this.feed.find( const existingItem = this.feed.find(
// HACK: need to find the reposts and trends item, so we have to check for that -prf // HACK: need to find the reposts and trends item, so we have to check for that -prf
item2 => item2 =>
item.uri === item2.post.uri && item.post.uri === item2.post.uri &&
item.reason?.$trend === item2.reason?.$trend && item.reason?.$trend === item2.reason?.$trend &&
// @ts-ignore todo // @ts-ignore todo
item.reason?.by?.did === item2.reason?.by?.did, item.reason?.by?.did === item2.reason?.by?.did,