use "OK" message.

This commit is contained in:
fiatjaf 2023-01-02 17:26:41 -03:00
parent c80be21cd4
commit 4a5202646a
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

4
42.md
View File

@ -52,10 +52,10 @@ that it can use a `NOTICE` message with a standard prefix `"restricted: "` that
["NOTICE", "restricted: we can't serve DMs to unauthenticated users, does your client implement NIP-42?"] ["NOTICE", "restricted: we can't serve DMs to unauthenticated users, does your client implement NIP-42?"]
``` ```
or or it can return an `OK` message noting the reason an event was not written using the same prefix:
``` ```
["NOTICE", "restricted: we do not accept events from unauthenticated users, please sign up at https://example.com/"] ["OK", "b1a649ebe8...", false, "restricted: we do not accept events from unauthenticated users, please sign up at https://example.com/"]
``` ```
## Signed Event Verification ## Signed Event Verification