mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-14 03:16:22 +00:00
use "OK" message.
This commit is contained in:
parent
c80be21cd4
commit
4a5202646a
4
42.md
4
42.md
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user