Fix bug where boost event is loaded in the thread instead of the boosted event

Changelog-Fixed: Fix bug where boost event is loaded in the thread instead of the boosted event
This commit is contained in:
William Casarin
2023-01-02 18:53:16 -08:00
parent 2cfcc82b2d
commit abf736ec2a

View File

@@ -30,7 +30,7 @@ struct InnerTimelineView: View {
NavigationLink(destination: BuildThreadV2View(
damus: damus,
event_id: ev.id
event_id: (ev.inner_event ?? ev).id
)) {
EventView(event: ev, highlight: .none, has_action_bar: true, damus: damus, show_friend_icon: show_friend_icon)
}