From 847f31f5a6e0b475c913d3a1241f638aecf255a7 Mon Sep 17 00:00:00 2001 From: Terry Yiu Date: Sat, 6 Jul 2024 19:07:28 -0400 Subject: [PATCH] Fix reactions view to not show reactions from replies on parent note Changelog-Fixed: Fix reactions view to not show reactions from replies on parent note --- damus/Views/ReactionsView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Views/ReactionsView.swift b/damus/Views/ReactionsView.swift index 2c6e6503..c39ff56f 100644 --- 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) } }