diff options
| author | Jon Staab <shtaab@gmail.com> | 2024-10-03 09:35:09 -0700 |
|---|---|---|
| committer | Jon Staab <shtaab@gmail.com> | 2024-10-03 09:35:09 -0700 |
| commit | 2053aee0c27e43c395706dee2706f2417c0ad268 (patch) | |
| tree | 32b3377e4a79cb2a21cf2f0a07fc4972cb211515 /18.md | |
| parent | f5a6fb258fa235189303c8bf2c1132e9f81ac8c9 (diff) | |
Remove addresses and tags from quote reposts
Diffstat (limited to '18.md')
| -rw-r--r-- | 18.md | 11 |
1 files changed, 3 insertions, 8 deletions
| @@ -35,14 +35,9 @@ as replies in threads. It also allows you to easily pull and count all of the | |||
| 35 | quotes for a post. | 35 | quotes for a post. |
| 36 | 36 | ||
| 37 | `q` tags should follow the same conventions as NIP 10 `e` tags, with the exception | 37 | `q` tags should follow the same conventions as NIP 10 `e` tags, with the exception |
| 38 | of the `mark` argument. The first argument MAY be either an event id or an address. | 38 | of the `mark` argument. |
| 39 | 39 | ||
| 40 | `["q", <event-id-or-address>, <relay-url>, <pubkey>]` | 40 | `["q", <event-id>, <relay-url>, <pubkey>]` |
| 41 | 41 | ||
| 42 | Quote reposts MUST include the [NIP-19](19.md) `nevent`, `note`, or `naddr` of the | 42 | Quote reposts MUST include the [NIP-19](19.md) `nevent`, `note`, or `naddr` of the |
| 43 | event in the content. The embedded entity should match the type of the tag (in | 43 | event in the content. |
| 44 | other words, if embedding a `naddr`, the `q` tag should contain an address, not | ||
| 45 | an event id). | ||
| 46 | |||
| 47 | Quote reposts also SHOULD include a `k` tag matching the stringified `kind` of | ||
| 48 | the quoted note. | ||