damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 164cea96f3a79b950c5dd1f86ade97d4acddd576
parent fa70c376b1013b4dcff5721685a6eefd53e1d3fe
Author: Daniel D’Aquino <daniel@daquino.me>
Date:   Sat, 13 Jul 2024 11:23:05 -0700

Merge pull request #2325 from tyiu/reactions-view-fix

Fix reactions view to not show reactions from replies on parent note
Diffstat:
Mdamus/Views/ReactionsView.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Views/ReactionsView.swift b/damus/Views/ReactionsView.swift @@ -16,7 +16,7 @@ struct ReactionsView: View { var body: some View { ScrollView { LazyVStack { - ForEach(model.events.events, id: \.id) { ev in + ForEach(model.events.events.filter { $0.last_refid() == model.target }, id: \.id) { ev in ReactionView(damus_state: damus_state, reaction: ev) } }