upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/21.md
diff options
context:
space:
mode:
Diffstat (limited to '21.md')
-rw-r--r--21.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/21.md b/21.md
index cda3f6c..a2f1333 100644
--- a/21.md
+++ b/21.md
@@ -19,7 +19,7 @@ If the signature matches and the event pubkey corresponds to the kind-04 filter
19### Example 19### Example
20 20
211. Client connects to `wss://chat.relay.nostr.com/` 211. Client connects to `wss://chat.relay.nostr.com/`
222. Client sends `["REQ", "my-dms", {"kinds": [4], "#p": "aeae"}, {"kinds": [4],"authors": ["aeae"]}]` 222. Client sends `["REQ", "my-dms", {"kinds": [4], "#p": ["aeae"]}, {"kinds": [4],"authors": ["aeae"]}]`
233. Relay sends `["CHALLENGE", "supertactic"]` 233. Relay sends `["CHALLENGE", "supertactic"]`
244. Client sends `["EVENT", {"id": "...", "pubkey": "aeae", "sig": "...", "kind": 20001, "tags": [], "created_at": 1609470000, "content": "chat.relay.nostr.com challenge for my-dms: supertactic"}]` 244. Client sends `["EVENT", {"id": "...", "pubkey": "aeae", "sig": "...", "kind": 20001, "tags": [], "created_at": 1609470000, "content": "chat.relay.nostr.com challenge for my-dms: supertactic"}]`
255. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "aeae", "kind": 4, "content": "<encrypted>", "sig": "...", "tags": ["p", "786b..."]}]` 255. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "aeae", "kind": 4, "content": "<encrypted>", "sig": "...", "tags": ["p", "786b..."]}]`