diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2023-01-02 17:26:41 -0300 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2023-01-02 17:26:41 -0300 |
| commit | 4a5202646a86ce63a85a50b560d1a2fbce277df6 (patch) | |
| tree | 90b4d9973cc4b2894f008dded4529080a5ddb8fc /42.md | |
| parent | c80be21cd44aa74efa42ead23a12343bf33ade34 (diff) | |
use "OK" message.
Diffstat (limited to '42.md')
| -rw-r--r-- | 42.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -52,10 +52,10 @@ that it can use a `NOTICE` message with a standard prefix `"restricted: "` that | |||
| 52 | ["NOTICE", "restricted: we can't serve DMs to unauthenticated users, does your client implement NIP-42?"] | 52 | ["NOTICE", "restricted: we can't serve DMs to unauthenticated users, does your client implement NIP-42?"] |
| 53 | ``` | 53 | ``` |
| 54 | 54 | ||
| 55 | or | 55 | or it can return an `OK` message noting the reason an event was not written using the same prefix: |
| 56 | 56 | ||
| 57 | ``` | 57 | ``` |
| 58 | ["NOTICE", "restricted: we do not accept events from unauthenticated users, please sign up at https://example.com/"] | 58 | ["OK", "b1a649ebe8...", false, "restricted: we do not accept events from unauthenticated users, please sign up at https://example.com/"] |
| 59 | ``` | 59 | ``` |
| 60 | 60 | ||
| 61 | ## Signed Event Verification | 61 | ## Signed Event Verification |