Fix quoted 30023 events

This commit is contained in:
Jonathan Staab 2023-06-28 11:38:45 -07:00
parent efee0f9311
commit 043ef6c33c
3 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,6 @@
# Current
- [ ] Fix @ mention on safari
- [ ] Fix http://localhost:5173/nevent1qqspulrcsx0ceunrnk88vvdta4lw70ch32e03rl8elughxpwsdy0kkgpzfmhxue69uhk7enxvd5xz6tw9ec82cs56smhk
- [ ] Get rid of Button
- [ ] Make notifications beautiful and usable
- [ ] Render threads in a way that makes them easy to use

View File

@ -26,5 +26,9 @@
{:else if note.kind === 30023}
<NoteContentKind30023 {note} {showEntire} {showMedia} />
{:else}
<NoteContentKind1 {note} {anchorId} {maxLength} {showEntire} {showMedia} {hideShowMore} />
<NoteContentKind1 {note} {anchorId} {maxLength} {showEntire} {showMedia} {hideShowMore}>
<div slot="note-content" let:quote>
<svelte:self note={quote} {anchorId} {maxLength} />
</div>
</NoteContentKind1>
{/if}

View File

@ -62,7 +62,7 @@
{:else if type.startsWith("nostr:") && showMedia && isStartOrEnd(i) && value.id !== anchorId}
<NoteContentQuote {note} {value}>
<div slot="note-content" let:quote>
<svelte:self note={quote} {anchorId} {maxLength} {showMedia} showEntire={false} />
<slot name="note-content" {quote} />
</div>
</NoteContentQuote>
{:else if type.startsWith("nostr:")}