upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2023-05-28 16:20:00 -0300
committerfiatjaf <fiatjaf@gmail.com>2024-02-23 20:51:46 -0300
commit16407807de8af0e46357be41dc059b66e70e6f6d (patch)
treec02d82dfbdbd7589c930d99eca47879d4a49d3ed
parentae952e36dfcb2fd0f014fbf8e3ea6e7ad83d646c (diff)
split hostname and subgroup path into two different tag items.
-rw-r--r--29.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/29.md b/29.md
index 01812aa..95812a0 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
18 18
19This is the basic unit of a message sent to a group. 19This is the basic unit of a message sent to a group.
20 20
21It 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. 21It 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).
22 22
23`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. 23`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.
24 24
@@ -28,7 +28,7 @@ When inserting references -- in the body of the text -- to users, other messages
28 "kind": 9, 28 "kind": 9,
29 "content": "hello my friends lovers of pizza", 29 "content": "hello my friends lovers of pizza",
30 "tags": [ 30 "tags": [
31 ["g", "pizza.com/flavors"] 31 ["g", "/flavors", "pizza.com"]
32 ] 32 ]
33 ... 33 ...
34``` 34```
@@ -85,7 +85,7 @@ An event sent from a client to the relay in order to accomplish a moderation act
85 "kind": 9000, 85 "kind": 9000,
86 "content": "action description and/or reason", 86 "content": "action description and/or reason",
87 "tags": [ 87 "tags": [
88 ["g", "pizza.com/flavors"], 88 ["g", "/flavors", "pizza.com"],
89 ["action", "add-user", "<pubkey-to-add>"], 89 ["action", "add-user", "<pubkey-to-add>"],
90 ["action", "ban-user", "<pubkey-to-ban>"], 90 ["action", "ban-user", "<pubkey-to-ban>"],
91 ["action", "delete-message", "<event-id-to-delete>"], 91 ["action", "delete-message", "<event-id-to-delete>"],