mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
fix #p filter syntax.
This commit is contained in:
parent
4620546785
commit
95cec2b8a7
2
21.md
2
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": "<encrypted>", "sig": "...", "tags": ["p", "786b..."]}]`
|
||||
|
|
Loading…
Reference in New Issue
Block a user