diff options
| -rw-r--r-- | 21.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -19,7 +19,7 @@ If the signature matches and the event pubkey corresponds to the kind-04 filter | |||
| 19 | ### Example | 19 | ### Example |
| 20 | 20 | ||
| 21 | 1. Client connects to `wss://chat.relay.nostr.com/` | 21 | 1. Client connects to `wss://chat.relay.nostr.com/` |
| 22 | 2. Client sends `["REQ", "my-dms", {"kinds": [4], "#p": "aeae"}, {"kinds": [4],"authors": ["aeae"]}]` | 22 | 2. Client sends `["REQ", "my-dms", {"kinds": [4], "#p": ["aeae"]}, {"kinds": [4],"authors": ["aeae"]}]` |
| 23 | 3. Relay sends `["CHALLENGE", "supertactic"]` | 23 | 3. Relay sends `["CHALLENGE", "supertactic"]` |
| 24 | 4. Client sends `["EVENT", {"id": "...", "pubkey": "aeae", "sig": "...", "kind": 20001, "tags": [], "created_at": 1609470000, "content": "chat.relay.nostr.com challenge for my-dms: supertactic"}]` | 24 | 4. Client sends `["EVENT", {"id": "...", "pubkey": "aeae", "sig": "...", "kind": 20001, "tags": [], "created_at": 1609470000, "content": "chat.relay.nostr.com challenge for my-dms: supertactic"}]` |
| 25 | 5. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "aeae", "kind": 4, "content": "<encrypted>", "sig": "...", "tags": ["p", "786b..."]}]` | 25 | 5. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "aeae", "kind": 4, "content": "<encrypted>", "sig": "...", "tags": ["p", "786b..."]}]` |