Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download profile info for all displayed authors #6

Closed
mplorentz opened this issue Feb 10, 2023 · 0 comments
Closed

Download profile info for all displayed authors #6

mplorentz opened this issue Feb 10, 2023 · 0 comments
Assignees

Comments

@mplorentz
Copy link
Member

Nostr identities at their core are public private keypairs. Profile data like usernames and profile photos are published in kind: 0 events as described in NIP-01. We parse this data and store it in the Author model when we see these events, but we are only fetching the most recent events from relays and often the kind: 0 events are not included.

We need to notice when we are displaying a post from a user we don't have profile data from. When this happens we should ask the RelayService to fetch it, store it in Core Data, and update our views with the new info.

@cjorgensen cjorgensen self-assigned this Feb 15, 2023
joshuatbrown added a commit that referenced this issue Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants