Skip to content

Commit

Permalink
use "OK" message.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Jan 2, 2023
1 parent c80be21 commit 4a52026
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 42.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?"]
```

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
Expand Down

0 comments on commit 4a52026

Please sign in to comment.