Add partial support for different repost variants

Changelog-Added: Add partial support for different repost variants
This commit is contained in:
William Casarin
2023-04-22 12:10:57 -07:00
parent f14ba7cce4
commit fd8ad494e9
7 changed files with 33 additions and 25 deletions

View File

@@ -47,7 +47,7 @@ struct InnerTimelineView: View {
ForEach(events.filter(filter), id: \.id) { (ev: NostrEvent) in
EventView(damus: damus, event: ev, options: event_options)
.onTapGesture {
nav_target = ev.inner_event ?? ev
nav_target = ev.get_inner_event(cache: self.damus.events) ?? ev
navigating = true
}
.padding(.top, 7)