mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
Adds preferred relay information to tags.
This commit is contained in:
parent
6fbe488504
commit
bf84e733f3
16
172.md
16
172.md
|
@ -21,11 +21,19 @@ Kind 34550 should include any field that helps define the community and the set
|
|||
"tags": [
|
||||
["d", "<community_name>"],
|
||||
["description", "<community_description>"],
|
||||
["image", "<communityimagen>", "WidthxHeight"]
|
||||
|
||||
//.. other tags relevant to defining the community
|
||||
|
||||
// moderators
|
||||
["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "moderator"]
|
||||
["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "moderator"]
|
||||
["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "moderator"]
|
||||
["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "moderator"],
|
||||
["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "moderator"],
|
||||
["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "moderator"],
|
||||
|
||||
// relays used by the community
|
||||
["relay", "<relay hosting author kind 0>", "author"],
|
||||
["relay", "<relay where to post requests to and fetch approvals from>"],
|
||||
["relay", "<relay where to post requests to and fetch approvals from>"]
|
||||
]
|
||||
}
|
||||
```
|
||||
|
@ -51,7 +59,7 @@ Community management clients can filter all mentions of the kind-34550 event and
|
|||
|
||||
# Post Approval by moderators
|
||||
|
||||
The post-approval event includes a stringified `new post request` event inside the content of the approval (NIP-18-style).
|
||||
The post-approval event includes a stringified `new post request` event inside the `.content` of the approval (NIP-18-style).
|
||||
|
||||
```js
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user