diff options
Diffstat (limited to '02.md')
| -rw-r--r-- | 02.md | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -8,7 +8,9 @@ Follow List | |||
| 8 | 8 | ||
| 9 | A special event with kind `3`, meaning "follow list" is defined as having a list of `p` tags, one for each of the followed/known profiles one is following. | 9 | A special event with kind `3`, meaning "follow list" is defined as having a list of `p` tags, one for each of the followed/known profiles one is following. |
| 10 | 10 | ||
| 11 | Each 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. | 11 | Each 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>]`. |
| 12 | |||
| 13 | The `.content` is not used. | ||
| 12 | 14 | ||
| 13 | For example: | 15 | For example: |
| 14 | 16 | ||
| @@ -27,6 +29,8 @@ For example: | |||
| 27 | 29 | ||
| 28 | Every new following list that gets published overwrites the past ones, so it should contain all entries. Relays and clients SHOULD delete past following lists as soon as they receive a new one. | 30 | Every new following list that gets published overwrites the past ones, so it should contain all entries. Relays and clients SHOULD delete past following lists as soon as they receive a new one. |
| 29 | 31 | ||
| 32 | Whenever new follows are added to an existing list, clients SHOULD append them to the end of the list, so they are stored in chronological order. | ||
| 33 | |||
| 30 | ## Uses | 34 | ## Uses |
| 31 | 35 | ||
| 32 | ### Follow list backup | 36 | ### Follow list backup |