From 16407807de8af0e46357be41dc059b66e70e6f6d Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sun, 28 May 2023 16:20:00 -0300 Subject: [PATCH] split hostname and subgroup path into two different tag items. --- 29.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/29.md b/29.md index 01812aa5..95812a08 100644 --- a/29.md +++ b/29.md @@ -18,7 +18,7 @@ The entire metadata of the group (kinds `39000-3900x`) must only be signed by th This is the basic unit of a message sent to a group. -It must commit in the `g` tag to the relay hostname plus the subgroup path in order to prevent these events from being sent to other relays and groups out of context and cause confusion. +It must commit in the `g` tag to the subgroup path and also to the relay hostname (in order to prevent these events from being sent to other relays and groups out of context and cause confusion). `e` and `p` tags can also be used to signal an immediate reply to another message on the group or to call for the attention of some other group user. @@ -28,7 +28,7 @@ When inserting references -- in the body of the text -- to users, other messages "kind": 9, "content": "hello my friends lovers of pizza", "tags": [ - ["g", "pizza.com/flavors"] + ["g", "/flavors", "pizza.com"] ] ... ``` @@ -85,7 +85,7 @@ An event sent from a client to the relay in order to accomplish a moderation act "kind": 9000, "content": "action description and/or reason", "tags": [ - ["g", "pizza.com/flavors"], + ["g", "/flavors", "pizza.com"], ["action", "add-user", ""], ["action", "ban-user", ""], ["action", "delete-message", ""],