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

Send Direct Message through specified Relays #189

Closed
nobu-maeda opened this issue Nov 14, 2023 · 0 comments · Fixed by #176 or #273
Closed

Send Direct Message through specified Relays #189

nobu-maeda opened this issue Nov 14, 2023 · 0 comments · Fixed by #176 or #273
Labels
enhancement New feature or request

Comments

@nobu-maeda
Copy link

Describe the enhancement
Create a functional interface to make it easier to send Direct Messages only through specified relays

Use case
This is in compliance to NIP-65, where it says and I quote

DMs SHOULD only be broadcasted to the author's WRITE relays and to the receiver's READ relays to keep maximum privacy.

Additional context
One way to do this is to create flexibility for the application layer to determine which relays to send the DM to instead of making the nostr client library implement and adhere to the guideline of NIP-65. The other way is to make the library have this behavior by default.

Either way, a dedicated functional interface to call into to allow sending of direct messages only to specified Relays is desirable.

@nobu-maeda nobu-maeda added the enhancement New feature or request label Nov 14, 2023
@yukibtc yukibtc linked a pull request Nov 14, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant