upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoji Shidara <dara@shidara.net>2025-08-20 01:11:55 +0900
committerGitHub <noreply@github.com>2025-08-19 09:11:55 -0700
commitd5bfb6e8480b9c67dca4e3de1103cfdcfdf069cd (patch)
treec5cf67aa07b2f5dcebb456b9fa5cc8db833a2c0e
parent38bc891e671fab9603e5129b01158bda844271df (diff)
NIP-72: Fix heading levels (#2031)
-rw-r--r--72.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/72.md b/72.md
index 1117290..9471cdb 100644
--- a/72.md
+++ b/72.md
@@ -8,7 +8,7 @@ Moderated Communities (Reddit Style)
8 8
9The goal of this NIP is to enable public communities. It defines the replaceable event `kind:34550` to define the community and the current list of moderators/administrators. Users that want to post into the community, simply tag any Nostr event with the community's `a` tag. Moderators may issue an approval event `kind:4550`. 9The goal of this NIP is to enable public communities. It defines the replaceable event `kind:34550` to define the community and the current list of moderators/administrators. Users that want to post into the community, simply tag any Nostr event with the community's `a` tag. Moderators may issue an approval event `kind:4550`.
10 10
11# Community Definition 11## Community Definition
12 12
13`Kind:34550` SHOULD include any field that helps define the community and the set of moderators. `relay` tags MAY be used to describe the preferred relay to download requests and approvals. A community definition event's `d` tag MAY double as its name, but if a `name` tag is provided, it SHOULD be displayed instead of the `d` tag. 13`Kind:34550` SHOULD include any field that helps define the community and the set of moderators. `relay` tags MAY be used to describe the preferred relay to download requests and approvals. A community definition event's `d` tag MAY double as its name, but if a `name` tag is provided, it SHOULD be displayed instead of the `d` tag.
14 14
@@ -39,11 +39,11 @@ The goal of this NIP is to enable public communities. It defines the replaceable
39} 39}
40``` 40```
41 41
42# Posting to a community 42## Posting to a community
43 43
44[NIP-22](NIP-22) kind 1111 events SHOULD be used for text notes posted to a community, with the `A` tag always scoped to the community definition. 44[NIP-22](NIP-22) kind 1111 events SHOULD be used for text notes posted to a community, with the `A` tag always scoped to the community definition.
45 45
46## Top-level posts 46### Top-level posts
47 47
48For top-level posts, the uppercase and lowercase NIP-22 tags should both refer to the community definition itself. 48For top-level posts, the uppercase and lowercase NIP-22 tags should both refer to the community definition itself.
49 49
@@ -63,7 +63,7 @@ For top-level posts, the uppercase and lowercase NIP-22 tags should both refer t
63} 63}
64``` 64```
65 65
66## Nested replies 66### Nested replies
67 67
68For nested replies, the uppercase tags should still refer to the community definition, while the lowercase tags should refer to the parent post or reply. 68For nested replies, the uppercase tags should still refer to the community definition, while the lowercase tags should refer to the parent post or reply.
69 69
@@ -86,11 +86,11 @@ For nested replies, the uppercase tags should still refer to the community defin
86} 86}
87``` 87```
88 88
89## Backwards compatibility note 89### Backwards compatibility note
90 90
91Previously kind 1 events were used for posts in communities, with an "a" tag pointing to the community. For backwards compatibility, clients MAY still query for kind 1 events, but SHOULD NOT use them for new posts. Instead, clients SHOULD use kind 1111 events with the `A` and `a` tags as described above. 91Previously kind 1 events were used for posts in communities, with an "a" tag pointing to the community. For backwards compatibility, clients MAY still query for kind 1 events, but SHOULD NOT use them for new posts. Instead, clients SHOULD use kind 1111 events with the `A` and `a` tags as described above.
92 92
93# Moderation 93## Moderation
94 94
95Anyone may issue an approval event to express their opinion that a post is appropriate for a community. Clients MAY choose which approval events to honor, but SHOULD at least use ones published by the group's defined moderators. 95Anyone may issue an approval event to express their opinion that a post is appropriate for a community. Clients MAY choose which approval events to honor, but SHOULD at least use ones published by the group's defined moderators.
96 96
@@ -127,6 +127,6 @@ Since relays are instructed to delete old versions of a replaceable event, the `
127 127
128Clients SHOULD evaluate any non-`34550:*` `a` tag as posts to be approved for all `34550:*` `a` tags. 128Clients SHOULD evaluate any non-`34550:*` `a` tag as posts to be approved for all `34550:*` `a` tags.
129 129
130# Cross-posting 130## Cross-posting
131 131
132Clients MAY support cross-posting between communities by posting a NIP 18 `kind 6` or `kind 16` repost to one or more communities using `a` tags as described above. The `content` of the repost MUST be the original event, not the approval event. 132Clients MAY support cross-posting between communities by posting a NIP 18 `kind 6` or `kind 16` repost to one or more communities using `a` tags as described above. The `content` of the repost MUST be the original event, not the approval event.