From 4a5202646a86ce63a85a50b560d1a2fbce277df6 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Mon, 2 Jan 2023 17:26:41 -0300 Subject: [PATCH] use "OK" message. --- 42.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/42.md b/42.md index d5122bad..b17aa143 100644 --- a/42.md +++ b/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?"] ``` -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