From 5355edb9cb1c712bcc8c024416b1e2e25a32317a Mon Sep 17 00:00:00 2001 From: monlovesmango <96307647+monlovesmango@users.noreply.github.com> Date: Sun, 27 Nov 2022 16:02:38 -0600 Subject: 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). --- 10.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '10.md') diff --git a/10.md b/10.md index 8b617f6..5fff879 100644 --- a/10.md +++ b/10.md @@ -44,9 +44,9 @@ Where: * `` is the id of the event being referenced. * `` is the URL of a recommended relay associated with the reference. It is NOT optional. - * `` is optional and if present is one of `"reply"` or `"root"` + * `` 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 ``. 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 ``. 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". -- cgit v1.2.3 From 6f5f9856b970992bd282d9cac2671975556ba05f Mon Sep 17 00:00:00 2001 From: monlovesmango <96307647+monlovesmango@users.noreply.github.com> Date: Tue, 29 Nov 2022 10:27:18 -0600 Subject: define 'mention' tag --- 10.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '10.md') diff --git a/10.md b/10.md index 5fff879..1d6f8ee 100644 --- a/10.md +++ b/10.md @@ -46,7 +46,7 @@ Where: * `` is the URL of a recommended relay associated with the reference. It is NOT optional. * `` 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 ``. 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"`. +**The order of marked "e" tags is not relevant.** Those marked with `"reply"` denote the ``. Those marked with `"root"` denote the root id of the reply thread. Those marked with `"mention"` denote a quoted or reposted event id. A direct reply to the root of a thread should have a single marked "e" tag of type "root". -- cgit v1.2.3 From f0842438c149be4834010540a30a4bdea7bee81e Mon Sep 17 00:00:00 2001 From: monlovesmango <96307647+monlovesmango@users.noreply.github.com> Date: Mon, 5 Dec 2022 11:22:43 -0600 Subject: clarify top level reply behavior --- 10.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '10.md') diff --git a/10.md b/10.md index 1d6f8ee..c0ef9d1 100644 --- a/10.md +++ b/10.md @@ -46,7 +46,7 @@ Where: * `` is the URL of a recommended relay associated with the reference. It is NOT optional. * `` 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 ``. Those marked with `"root"` denote the root id of the reply thread. Those marked with `"mention"` denote a quoted or reposted event id. +**The order of marked "e" tags is not relevant.** 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. A direct reply to the root of a thread should have a single marked "e" tag of type "root". -- cgit v1.2.3 From 127d5518bfa9a4e4e7510490c0b8d95e342dfa4b Mon Sep 17 00:00:00 2001 From: barkyq <122579762+barkyq@users.noreply.github.com> Date: Thu, 23 Feb 2023 14:20:10 -0500 Subject: relay hint language update (#291) --- 10.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '10.md') diff --git a/10.md b/10.md index c0ef9d1..6494796 100644 --- a/10.md +++ b/10.md @@ -43,8 +43,8 @@ They are citings from this event. `root-id` and `reply-id` are as above. Where: * `` is the id of the event being referenced. - * `` is the URL of a recommended relay associated with the reference. It is NOT optional. - * `` is optional and if present is one of `"reply"`, `"root"`, or `"mention"` + * `` is the URL of a recommended relay associated with the reference. Clients SHOULD add a valid `` field, but may instead leave it as `""`. + * `` 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 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. -- cgit v1.2.3