-
Notifications
You must be signed in to change notification settings - Fork 601
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #397 from arthurfranca/repost-res
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
NIP-18 | ||
====== | ||
|
||
Reposts | ||
------- | ||
|
||
`draft` `optional` `author:jb55` `author:fiatjaf` `author:arthurfranca` | ||
|
||
A repost is a `kind 6` note that is used to signal to followers | ||
that another event is worth reading. | ||
|
||
The `content` of a repost event is empty. Optionally, it MAY contain | ||
the stringified JSON of the reposted note event for quick look up. | ||
|
||
The repost event MUST include an `e` tag with the `id` of the note that is | ||
being reposted. That tag MUST include a relay URL as its third entry | ||
to indicate where it can be fetched. | ||
|
||
The repost SHOULD include a `p` tag with the `pubkey` of the event being | ||
reposted. | ||
|
||
## Quote Reposts | ||
|
||
Quote reposts are `kind 1` events with an embedded `e` tag (see [NIP-08](08.md) and [NIP-27](27.md)). | ||
Because a quote repost includes an `e` tag, it may show up along replies to the reposted note. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters