upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Pamplona <vitor@vitorpamplona.com>2023-06-13 10:34:34 -0400
committerfiatjaf_ <fiatjaf@gmail.com>2023-08-08 13:27:32 -0300
commitbf84e733f3ad870ffd4516c6dfb60069997923be (patch)
tree40b3b3410a9966e063f123b5aa374ec454258990
parent6fbe488504729b4da4231f55097a144d9bbaa4a7 (diff)
Adds preferred relay information to tags.
-rw-r--r--172.md16
1 files changed, 12 insertions, 4 deletions
diff --git a/172.md b/172.md
index 9aa59e2..1ca8b17 100644
--- a/172.md
+++ b/172.md
@@ -21,11 +21,19 @@ Kind 34550 should include any field that helps define the community and the set
21 "tags": [ 21 "tags": [
22 ["d", "<community_name>"], 22 ["d", "<community_name>"],
23 ["description", "<community_description>"], 23 ["description", "<community_description>"],
24 ["image", "<communityimagen>", "WidthxHeight"]
25
26 //.. other tags relevant to defining the community
24 27
25 // moderators 28 // moderators
26 ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "moderator"] 29 ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "moderator"],
27 ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "moderator"] 30 ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "moderator"],
28 ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "moderator"] 31 ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "moderator"],
32
33 // relays used by the community
34 ["relay", "<relay hosting author kind 0>", "author"],
35 ["relay", "<relay where to post requests to and fetch approvals from>"],
36 ["relay", "<relay where to post requests to and fetch approvals from>"]
29 ] 37 ]
30} 38}
31``` 39```
@@ -51,7 +59,7 @@ Community management clients can filter all mentions of the kind-34550 event and
51 59
52# Post Approval by moderators 60# Post Approval by moderators
53 61
54The post-approval event includes a stringified `new post request` event inside the content of the approval (NIP-18-style). 62The post-approval event includes a stringified `new post request` event inside the `.content` of the approval (NIP-18-style).
55 63
56```js 64```js
57{ 65{