Skip to content

Fix quoted NIP-23 articles stuck loading forever#200

Merged
barrydeen merged 1 commit intomainfrom
feat/nip23-article-reader
Mar 10, 2026
Merged

Fix quoted NIP-23 articles stuck loading forever#200
barrydeen merged 1 commit intomainfrom
feat/nip23-article-reader

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Add naddr1 to the nostr URI regex so fetchQuotedEvents() recognizes quoted long-form article references
  • Decode AddressRef URIs and call requestAddressableEvent() to fetch the quoted article from relays
  • Scan kind 30023 events for embedded quotes during profile sweeps (previously only kind 1)

Test plan

  • Find a note that quotes a NIP-23 article via nostr:naddr1... and verify the article card loads instead of spinning forever
  • Verify regular quoted notes (nostr:note1..., nostr:nevent1...) still work as before
  • Verify articles in the feed that themselves contain quoted references resolve correctly

Add naddr1 to the nostr URI regex so fetchQuotedEvents() recognizes
quoted article references. Decode AddressRef URIs and call
requestAddressableEvent() to fetch them. Also scan kind 30023 events
for embedded quotes during profile sweeps.
@barrydeen barrydeen merged commit e714685 into main Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant