Guidance for clients

This commit is contained in:
Vitor Pamplona 2023-07-13 20:52:12 -04:00
parent 63f1b46ceb
commit fadfa6e021

2
02.md
View File

@ -10,6 +10,8 @@ A special event with kind `3`, meaning "contact list" is defined as having a lis
Each `p` tag entry should contain the key for the profile, a relay URL where events from that key can be found (can be set to an empty string if not needed), and a local name (or "petname") for that profile (can also be set to an empty string or not provided), i.e., `["p", <32-bytes hex key>, <main relay URL>, <petname>]`. The `content` can be anything and should be ignored.
Clients are not expected to support all types of follows, but MUST not delete unsupported tags when updating the contact list.
For example:
```js