From 587dbf52b9b44a8cb9ab0d4556fdc85905d3e0e7 Mon Sep 17 00:00:00 2001 From: Kay Date: Fri, 7 Feb 2025 19:58:55 +0000 Subject: [PATCH] fixes. --- 97.md | 12 +++++++----- README.md | 2 ++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/97.md b/97.md index c32217de..8933db4f 100644 --- a/97.md +++ b/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 diff --git a/README.md b/README.md index a22d7c20..dc61400b 100644 --- a/README.md +++ b/README.md @@ -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) |