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

Fix reactions view to not show reactions from replies on parent note
This commit is contained in:
Daniel D’Aquino
2024-07-13 11:23:05 -07:00
committed by GitHub

View File

@@ -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)
}
}