diff options
| author | arthurfranca <arthur.a.franca@gmail.com> | 2023-03-29 18:45:12 -0300 |
|---|---|---|
| committer | arthurfranca <arthur.a.franca@gmail.com> | 2023-03-29 18:45:12 -0300 |
| commit | 800c0d0cd397eb4b043ef0cdaefd0bad18cb1cd5 (patch) | |
| tree | bce3cc22601b049a4ebda6bd412f7a26686106de /18.md | |
| parent | 5b1640c64815d9c288dd30b7c690b1afecf48930 (diff) | |
Drop event copy
Diffstat (limited to '18.md')
| -rw-r--r-- | 18.md | 12 |
1 files changed, 8 insertions, 4 deletions
| @@ -4,18 +4,22 @@ NIP-18 | |||
| 4 | Reposts | 4 | Reposts |
| 5 | ------- | 5 | ------- |
| 6 | 6 | ||
| 7 | `draft` `optional` `author:fiatjaf` `author:arthurfranca` | 7 | `draft` `optional` `author:jb55` `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. Optionally, it MAY contain | 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 | the stringified JSON of the reposted note event for quick look up. |
| 14 | 14 | ||
| 15 | 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 |
| 16 | being reposted. That tag SHOULD include a relay URL as its third entry | 16 | being reposted. That tag MUST include a relay URL as its third entry |
| 17 | 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. | ||
| 19 | 18 | ||
| 20 | The repost SHOULD include a `p` tag with the `pubkey` of the event being | 19 | The repost SHOULD include a `p` tag with the `pubkey` of the event being |
| 21 | reposted. | 20 | reposted. |
| 21 | |||
| 22 | ## Quote Reposts | ||
| 23 | |||
| 24 | Quote reposts are `kind 1` events with an embedded `e` tag (see [NIP-08](08.md) and [NIP-27](27.md)). | ||
| 25 | Because a quote repost includes an `e` tag, it may show up along replies to the reposted note. | ||