mirror of
git://jb55.com/damus
synced 2024-09-19 11:43:44 +00:00
timeline: show renotes in Notes timelines
Changelog-Changed: Show renotes in Notes timeline Fixes: https://github.com/damus-io/damus/issues/676
This commit is contained in:
parent
25e022d933
commit
21eda288c4
@ -60,7 +60,7 @@ enum FilterState : Int {
|
|||||||
func filter(ev: NostrEvent) -> Bool {
|
func filter(ev: NostrEvent) -> Bool {
|
||||||
switch self {
|
switch self {
|
||||||
case .posts:
|
case .posts:
|
||||||
return !ev.is_reply(nil)
|
return ev.known_kind == .boost || !ev.is_reply(nil)
|
||||||
case .posts_and_replies:
|
case .posts_and_replies:
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user