Improves the text

This commit is contained in:
Vitor Pamplona 2024-04-16 13:18:58 -04:00
parent 8cb9b76a84
commit 09278eef2b

8
54.md
View File

@ -10,7 +10,7 @@ This NIP enables authors to post exclusively into topics, without polluting thei
## Topical Note Kind ## Topical Note Kind
Kind `21` defines a `kind:1`-equivalent event that MUST NOT be displayed unless the user follows one of the `g`, `t`, `r` or `l` tags. Kind `21` defines a `kind:1`-equivalent event that MUST NOT be displayed unless the user follows one of the `g`, `t`, `r`, or `l` tags.
```jsonc ```jsonc
{ {
@ -23,12 +23,12 @@ Kind `21` defines a `kind:1`-equivalent event that MUST NOT be displayed unless
["L", "<label namespace>"], ["L", "<label namespace>"],
["l", "<label>", "<label namespace>"], ["l", "<label>", "<label namespace>"],
], ],
"content": "This is a note for followers of the hashtag, location OR url. My followers should not see this.", "content": "This is a note for followers of the hashtag, location, OR url. My followers should not see this.",
//... //...
} }
``` ```
Clients MUST include at least one `g`, `t`, `r` or `l` tags. Clients MUST include at least one `g`, `t`, `r`, or `l` tags.
`.content` MUST be plain text and tags that mention, quote and assemble threading structures MUST follow [NIP-10](10.md). `.content` MUST be plain text and tags that mention, quote and assemble threading structures MUST follow [NIP-10](10.md).
@ -36,7 +36,7 @@ Clients MUST include at least one `g`, `t`, `r` or `l` tags.
Kind `30021` defines a following topic. It registers a list of relays to aggregate events for the list of topics. Kind `30021` defines a following topic. It registers a list of relays to aggregate events for the list of topics.
The `d` tag of this kind is a simple `UUID`. The `d` tag of this kind is a simple `UUID`. `g`, `t`, `r`, or `l` tags define the topics to be followed and the `relay` tag specifies which relays to use for those topics. The `title` tag adds a name for the topic.
```js ```js
{ {