mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-02-23 05:39:01 +00:00
fixes.
This commit is contained in:
parent
585df9aa88
commit
587dbf52b9
12
97.md
12
97.md
@ -27,13 +27,15 @@ Clients SHOULD publish private events with a protected tag (`"-"`) to relays who
|
||||
|
||||
### 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
|
||||
{
|
||||
"kind": 5030,
|
||||
"kind": 819,
|
||||
"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"]
|
||||
],
|
||||
"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.
|
||||
Its RECOMMENDED for clients to add a `"expiration"` tag to kind `5030` 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.
|
||||
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 `819` after a reasonable amount of time since they won't be useful after being accepted or rejected.
|
||||
|
||||
### Clients
|
||||
|
||||
|
@ -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-94: File Metadata](94.md)
|
||||
- [NIP-96: HTTP File Storage Integration](96.md)
|
||||
- [NIP-97: White-listed Events](97.md)
|
||||
- [NIP-98: HTTP Auth](98.md)
|
||||
- [NIP-99: Classified Listings](99.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) |
|
||||
| `64` | Chess (PGN) | [64](64.md) |
|
||||
| `818` | Merge Requests | [54](54.md) |
|
||||
| `819` | Private Follow Request | [97](97.md) |
|
||||
| `1018` | Poll Response | [88](88.md) |
|
||||
| `1021` | Bid | [15](15.md) |
|
||||
| `1022` | Bid confirmation | [15](15.md) |
|
||||
|
Loading…
Reference in New Issue
Block a user