mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-12 23:19:08 -05:00
Improves the text
This commit is contained in:
parent
8cb9b76a84
commit
09278eef2b
8
54.md
8
54.md
|
@ -10,7 +10,7 @@ This NIP enables authors to post exclusively into topics, without polluting thei
|
|||
|
||||
## 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
|
||||
{
|
||||
|
@ -23,12 +23,12 @@ Kind `21` defines a `kind:1`-equivalent event that MUST NOT be displayed unless
|
|||
["L", "<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).
|
||||
|
||||
|
@ -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.
|
||||
|
||||
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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user