diff options
| author | arthurfranca <arthur.a.franca@gmail.com> | 2023-03-29 15:37:54 -0300 |
|---|---|---|
| committer | arthurfranca <arthur.a.franca@gmail.com> | 2023-03-29 15:37:54 -0300 |
| commit | 9a362c6df48953fdfefea9178d70f3656d75b1e8 (patch) | |
| tree | 55c6c98d7c9916eb8a1eda3b5d50bd1d618e2146 /18.md | |
| parent | 197b6ea206611e751cb73c2e04a12b371674a109 (diff) | |
Add optional comment to content
Diffstat (limited to '18.md')
| -rw-r--r-- | 18.md | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -4,16 +4,18 @@ NIP-18 | |||
| 4 | Reposts | 4 | Reposts |
| 5 | ------- | 5 | ------- |
| 6 | 6 | ||
| 7 | `draft` `optional` `author:jb55` | 7 | `draft` `optional` `author:fiatjaf` `author:arthurfranca` |
| 8 | 8 | ||
| 9 | A repost is a `kind 6` note that is used to signal to followers | 9 | A repost is a `kind 6` note that is used to signal to followers |
| 10 | that another event is worth reading. | 10 | that another event is worth reading. |
| 11 | 11 | ||
| 12 | The `content` of a repost event is empty. | 12 | The `content` of a repost event is empty. Optionally, it MAY contain |
| 13 | a comment in the same format of a kind 1 note content. | ||
| 13 | 14 | ||
| 14 | The repost event MUST include an `e` tag with the `id` of the note that is | 15 | The repost event MUST include an `e` tag with the `id` of the note that is |
| 15 | being reposted. That tag SHOULD include a relay URL as its third entry | 16 | being reposted. That tag SHOULD include a relay URL as its third entry |
| 16 | to indicate where it can be fetched. | 17 | to indicate where it can be fetched. |
| 18 | When reposting a long-form content use an `a` tag instead. | ||
| 17 | 19 | ||
| 18 | The repost SHOULD include a `p` tag with the `pubkey` of the event being | 20 | The repost SHOULD include a `p` tag with the `pubkey` of the event being |
| 19 | reposted. | 21 | reposted. |