This commit is contained in:
Kay 2025-02-07 19:58:55 +00:00
parent 585df9aa88
commit 587dbf52b9
2 changed files with 9 additions and 5 deletions

12
97.md
View File

@ -27,13 +27,15 @@ Clients SHOULD publish private events with a protected tag (`"-"`) to relays who
### Private Follow Request ### Private Follow Request
A user can request to be added to a pubkey kind `10103` list using a kind `5030` event containing the target pubkey in a `"p"` tag: A user can request to be added to a pubkey kind `10103` list using a kind `819` event containing the target pubkey in a `"p"` tag:
```jsonc ```jsonc
{ {
"kind": 5030, "kind": 819,
"tags": [ "tags": [
["relays", "wss://private-notes.example.com", "wss://secret-notes.example.com", /*...*/], ["relay", "wss://private-notes.example.com"],
["relay", "wss://bob-friends.example.com"],
["expiration", "1738988143"],
["p", "abc...def"] ["p", "abc...def"]
], ],
"content": "Please let me in.", "content": "Please let me in.",
@ -42,8 +44,8 @@ A user can request to be added to a pubkey kind `10103` list using a kind `5030`
``` ```
Clients MAY show `.content` to user as a request message. Clients MAY show `.content` to user as a request message.
Its RECOMMENDED for clients to add a `"expiration"` tag to kind `5030` since they won't be useful after being accepted or rejected. Clients MUST add a `"expiration"` tag to kind `819` since they won't be useful after being accepted or rejected.
Its RECOMMENDED for relays to cleanup kind `5030` after a reasonable amount of time since they won't be useful after being accepted or rejected. Its RECOMMENDED for relays to cleanup kind `819` after a reasonable amount of time since they won't be useful after being accepted or rejected.
### Clients ### Clients

View File

@ -95,6 +95,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
- [NIP-92: Media Attachments](92.md) - [NIP-92: Media Attachments](92.md)
- [NIP-94: File Metadata](94.md) - [NIP-94: File Metadata](94.md)
- [NIP-96: HTTP File Storage Integration](96.md) - [NIP-96: HTTP File Storage Integration](96.md)
- [NIP-97: White-listed Events](97.md)
- [NIP-98: HTTP Auth](98.md) - [NIP-98: HTTP Auth](98.md)
- [NIP-99: Classified Listings](99.md) - [NIP-99: Classified Listings](99.md)
- [NIP-7D: Threads](7D.md) - [NIP-7D: Threads](7D.md)
@ -131,6 +132,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
| `44` | Channel Mute User | [28](28.md) | | `44` | Channel Mute User | [28](28.md) |
| `64` | Chess (PGN) | [64](64.md) | | `64` | Chess (PGN) | [64](64.md) |
| `818` | Merge Requests | [54](54.md) | | `818` | Merge Requests | [54](54.md) |
| `819` | Private Follow Request | [97](97.md) |
| `1018` | Poll Response | [88](88.md) | | `1018` | Poll Response | [88](88.md) |
| `1021` | Bid | [15](15.md) | | `1021` | Bid | [15](15.md) |
| `1022` | Bid confirmation | [15](15.md) | | `1022` | Bid confirmation | [15](15.md) |