From 95cec2b8a746b0ce779a3cf62ad9fdf72f67c845 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Wed, 20 Jul 2022 21:28:55 -0300 Subject: [PATCH] fix #p filter syntax. --- 21.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/21.md b/21.md index cda3f6ce..a2f13332 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 ### Example 1. Client connects to `wss://chat.relay.nostr.com/` -2. Client sends `["REQ", "my-dms", {"kinds": [4], "#p": "aeae"}, {"kinds": [4],"authors": ["aeae"]}]` +2. Client sends `["REQ", "my-dms", {"kinds": [4], "#p": ["aeae"]}, {"kinds": [4],"authors": ["aeae"]}]` 3. Relay sends `["CHALLENGE", "supertactic"]` 4. Client sends `["EVENT", {"id": "...", "pubkey": "aeae", "sig": "...", "kind": 20001, "tags": [], "created_at": 1609470000, "content": "chat.relay.nostr.com challenge for my-dms: supertactic"}]` 5. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "aeae", "kind": 4, "content": "", "sig": "...", "tags": ["p", "786b..."]}]`