Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for address quotes #1560

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 10.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Where:
* `<marker>` is optional and if present is one of `"reply"`, `"root"`, or `"mention"`.
* `<pubkey>` is optional, SHOULD be the pubkey of the author of the referenced event

Those marked with `"reply"` denote the id of the reply event being responded to. Those marked with `"root"` denote the root id of the reply thread being responded to. For top level replies (those replying directly to the root event), only the `"root"` marker should be used. Those marked with `"mention"` denote a quoted or reposted event id.
Those marked with `"reply"` denote the id of the reply event being responded to. Those marked with `"root"` denote the root id of the reply thread being responded to. For top level replies (those replying directly to the root event), only the `"root"` marker should be used. Those marked with `"mention"` denote a non-root/parent event id in the reply chain, *not* a quote.

A direct reply to the root of a thread should have a single marked "e" tag of type "root".

Expand Down
5 changes: 5 additions & 0 deletions 18.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ of the `mark` argument.

`["q", <event-id>, <relay-url>, <pubkey>]`

When quoting an event by address, `q` tags should follow conventions for `a` tags,
as described in [NIP 01](./01.md).

`["q", <event-address>, <relay-url>]`

Quote reposts MUST include the [NIP-21](21.md) `nevent`, `note`, or `naddr` of the
event in the content.

Expand Down