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: [PATCH] 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(-) 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".