mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
Add optional comment to content
This commit is contained in:
parent
197b6ea206
commit
9a362c6df4
6
18.md
6
18.md
|
@ -4,16 +4,18 @@ NIP-18
|
||||||
Reposts
|
Reposts
|
||||||
-------
|
-------
|
||||||
|
|
||||||
`draft` `optional` `author:jb55`
|
`draft` `optional` `author:fiatjaf` `author:arthurfranca`
|
||||||
|
|
||||||
A repost is a `kind 6` note that is used to signal to followers
|
A repost is a `kind 6` note that is used to signal to followers
|
||||||
that another event is worth reading.
|
that another event is worth reading.
|
||||||
|
|
||||||
The `content` of a repost event is empty.
|
The `content` of a repost event is empty. Optionally, it MAY contain
|
||||||
|
a comment in the same format of a kind 1 note content.
|
||||||
|
|
||||||
The repost event MUST include an `e` tag with the `id` of the note that is
|
The repost event MUST include an `e` tag with the `id` of the note that is
|
||||||
being reposted. That tag SHOULD include a relay URL as its third entry
|
being reposted. That tag SHOULD include a relay URL as its third entry
|
||||||
to indicate where it can be fetched.
|
to indicate where it can be fetched.
|
||||||
|
When reposting a long-form content use an `a` tag instead.
|
||||||
|
|
||||||
The repost SHOULD include a `p` tag with the `pubkey` of the event being
|
The repost SHOULD include a `p` tag with the `pubkey` of the event being
|
||||||
reposted.
|
reposted.
|
||||||
|
|
|
@ -52,6 +52,7 @@ NIPs stand for **Nostr Implementation Possibilities**. They exist to document wh
|
||||||
| 3 | Contacts | [2](02.md) |
|
| 3 | Contacts | [2](02.md) |
|
||||||
| 4 | Encrypted Direct Messages | [4](04.md) |
|
| 4 | Encrypted Direct Messages | [4](04.md) |
|
||||||
| 5 | Event Deletion | [9](09.md) |
|
| 5 | Event Deletion | [9](09.md) |
|
||||||
|
| 6 | Reposts | [18](18.md) |
|
||||||
| 7 | Reaction | [25](25.md) |
|
| 7 | Reaction | [25](25.md) |
|
||||||
| 8 | Badge Award | [58](58.md) |
|
| 8 | Badge Award | [58](58.md) |
|
||||||
| 40 | Channel Creation | [28](28.md) |
|
| 40 | Channel Creation | [28](28.md) |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user