From 396ebee9bcef91e5a29ad49e477732379a79a9dc Mon Sep 17 00:00:00 2001 From: Leo Wandersleb Date: Thu, 4 Aug 2022 00:10:04 -0400 Subject: [PATCH] tiny fix --- 21.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/21.md b/21.md index 426c630..16f266c 100644 --- a/21.md +++ b/21.md @@ -23,7 +23,7 @@ If all is well, then the relay can use the identified pubkey to validate further 1. Client connects to `wss://chat.relay.nostr.com/` 2. Client sends `["EVENT", {"id": "...", "pubkey": "aeae...", "sig": "...", "kind": 20001, "tags": [], "created_at": 1609470000, "content": "client identification for chat.relay.nostr.com"}]` 3. Client sends `["REQ", "my-dms", {"kinds": [4], "#p": ["aeae..."]}, {"kinds": [4],"authors": ["aeae"]}]` -5. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "aeae...", "kind": 4, "content": "", "sig": "...", "tags": ["p", "786b..."]}]` +4. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "aeae...", "kind": 4, "content": "", "sig": "...", "tags": ["p", "786b..."]}]` 5. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "786b...", "kind": 4, "content": "", "sig": "...", "tags": ["p", "aeae..."]}]` Ids and signatures omitted and pubkeys shortened for readability.