FeedFeedback fixes (#3968)

* Lower seen threshold to 1.5s

* Send feedContext for replies

* Use a simpler and more reliable feedContext fallback

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
This commit is contained in:
dan 2024-05-12 18:30:00 +01:00 committed by GitHub
parent 97750c4aab
commit 4458b03173
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 3 deletions

View file

@ -71,6 +71,10 @@ export class FeedViewPostsSlice {
?.__source as ReasonFeedSource
}
get feedContext() {
return this.items.find(item => item.feedContext)?.feedContext
}
containsUri(uri: string) {
return !!this.items.find(item => item.post.uri === uri)
}