mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
split hostname and subgroup path into two different tag items.
This commit is contained in:
parent
ae952e36df
commit
16407807de
6
29.md
6
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", "<pubkey-to-add>"],
|
||||
["action", "ban-user", "<pubkey-to-ban>"],
|
||||
["action", "delete-message", "<event-id-to-delete>"],
|
||||
|
|
Loading…
Reference in New Issue
Block a user