diff options
Diffstat (limited to '21.md')
| -rw-r--r-- | 21.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -23,7 +23,7 @@ If all is well, then the relay can use the identified pubkey to validate further | |||
| 23 | 1. Client connects to `wss://chat.relay.nostr.com/` | 23 | 1. Client connects to `wss://chat.relay.nostr.com/` |
| 24 | 2. Client sends `["EVENT", {"id": "...", "pubkey": "aeae...", "sig": "...", "kind": 20001, "tags": [], "created_at": 1609470000, "content": "client identification for chat.relay.nostr.com"}]` | 24 | 2. Client sends `["EVENT", {"id": "...", "pubkey": "aeae...", "sig": "...", "kind": 20001, "tags": [], "created_at": 1609470000, "content": "client identification for chat.relay.nostr.com"}]` |
| 25 | 3. Client sends `["REQ", "my-dms", {"kinds": [4], "#p": ["aeae..."]}, {"kinds": [4],"authors": ["aeae"]}]` | 25 | 3. Client sends `["REQ", "my-dms", {"kinds": [4], "#p": ["aeae..."]}, {"kinds": [4],"authors": ["aeae"]}]` |
| 26 | 5. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "aeae...", "kind": 4, "content": "<encrypted>", "sig": "...", "tags": ["p", "786b..."]}]` | 26 | 4. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "aeae...", "kind": 4, "content": "<encrypted>", "sig": "...", "tags": ["p", "786b..."]}]` |
| 27 | 5. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "786b...", "kind": 4, "content": "<encrypted>", "sig": "...", "tags": ["p", "aeae..."]}]` | 27 | 5. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "786b...", "kind": 4, "content": "<encrypted>", "sig": "...", "tags": ["p", "aeae..."]}]` |
| 28 | 28 | ||
| 29 | Ids and signatures omitted and pubkeys shortened for readability. | 29 | Ids and signatures omitted and pubkeys shortened for readability. |