1
0
mirror of git://jb55.com/damus synced 2024-09-18 19:23:49 +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:
William Casarin 2023-08-07 08:24:02 -07:00
parent 25e022d933
commit 21eda288c4

View File

@ -60,7 +60,7 @@ enum FilterState : Int {
func filter(ev: NostrEvent) -> Bool {
switch self {
case .posts:
return !ev.is_reply(nil)
return ev.known_kind == .boost || !ev.is_reply(nil)
case .posts_and_replies:
return true
}