CONFIG.eventLinkPrefix

This commit is contained in:
Martti Malmi
2023-10-17 12:59:25 +03:00
parent ca18cf25e3
commit d9bd198e8d
23 changed files with 53 additions and 39 deletions

View File

@ -283,7 +283,7 @@ export function Thread(props: { onBack?: () => void; disableSpotlight?: boolean
notes={replies}
related={getAllLinkReactions(
thread.reactions,
replies.map(a => NostrLink.fromEvent(a)),
replies.map(a => NostrLink.fromEvent(a, CONFIG.eventLinkPrefix)),
)}
chains={thread.chains}
onNavigate={navigateThread}