mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
add 'mention' marker
I think that adding a mention marker would eliminate ambiguity for clients supporting both the deprecated and preferred conventions. I also think that this would allow for extensibility in adding new types of event mentions (for example if we want to add context for a note).
This commit is contained in:
parent
0019a206a3
commit
5355edb9cb
4
10.md
4
10.md
|
@ -44,9 +44,9 @@ Where:
|
|||
|
||||
* `<event-id>` is the id of the event being referenced.
|
||||
* `<relay-url>` is the URL of a recommended relay associated with the reference. It is NOT optional.
|
||||
* `<marker>` is optional and if present is one of `"reply"` or `"root"`
|
||||
* `<marker>` is optional and if present is one of `"reply"`, `"root"`, or `"mention"`
|
||||
|
||||
**The order of marked "e" tags is not relevant.** Those marked with `"reply"` denote the `<reply-id>`. Those marked with `"root"` denote the root id of the reply thread.
|
||||
**The order of marked "e" tags is not relevant.** Those marked with `"reply"` denote the `<reply-id>`. Those marked with `"root"` denote the root id of the reply thread. Those marked `"mention"` denote id of events that are tagged and are not the `"reply"` nor `"root"`.
|
||||
|
||||
A direct reply to the root of a thread should have a single marked "e" tag of type "root".
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user