Skip to content

Added the NostrNip04MessageProvider - #41

Open
Randy808 wants to merge 1 commit into
Resolvr-io:masterfrom
Randy808:add-nip04-message-provider
Open

Added the NostrNip04MessageProvider#41
Randy808 wants to merge 1 commit into
Resolvr-io:masterfrom
Randy808:add-nip04-message-provider

Conversation

@Randy808

@Randy808 Randy808 commented Dec 7, 2023

Copy link
Copy Markdown

Added the NostrNip04MessageProvider as a general use struct for generating queues to access the given nsec's nip04 DMs. The NostrNip04MessageProvider manages a queue of direct messages as a singleton, exposing queue cursors to access data in the queue. This implementation currently pulls all the direct messages but I'm looking into how tags are used in Resolvr and whether we can request the relay filter DMs that are not related to Resolvr.

@Randy808
Randy808 force-pushed the add-nip04-message-provider branch from 71fcdf0 to da7258a Compare December 7, 2023 23:40
@tvolk131

tvolk131 commented Dec 8, 2023

Copy link
Copy Markdown
Contributor

Thanks for putting this together! Will review in the next few hours.

…ating queues to access the given nsec's nip04 DMs.
@Randy808
Randy808 force-pushed the add-nip04-message-provider branch from da7258a to ed22151 Compare December 8, 2023 13:44
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.

2 participants