This commit is contained in:
Vitor Pamplona 2023-06-12 18:38:20 -04:00 committed by fiatjaf_
parent 1912dacd33
commit 7f4970bb10

16
172.md
View File

@ -6,11 +6,11 @@ Moderated Communities (Reddit Style)
`draft` `optional` `author:vitorpamplona`
The goal of this NIP is to create moderator-approved public communities arount a topic. It defines the replaceable event `34550` to define the community and the current list of moderators/administrators. Users that want to post into to the community, simply tag any Nostr event with an `a` tag. Moderators the issue an approval event `34551` that links the community with the new post.
The goal of this NIP is to create moderator-approved public communities around a topic. It defines the replaceable event `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 an `a` tag. Moderators issue an approval event `34551` that links the community with the new post.
# Community definition
Kind 34550 should include any field that helps define the community and the set of moderators.
Kind 34550 should include any field that helps define the community and the set of moderators.
```js
{
@ -32,7 +32,7 @@ Kind 34550 should include any field that helps define the community and the set
# New Post Request
Any Nostr event can be a post request. Clients should simply add the community's `a` tag to be presented for the moderator's approval.
Any Nostr event can be a post request. Clients should simply add the community's `a` tag to be presented for the moderator's approval.
```js
{
@ -47,11 +47,11 @@ Any Nostr event can be a post request. Clients should simply add the community's
}
```
Community management clients can filter all mentions to the kind-34550 event and request moderators to approve each submission. The same moderator can remove his/her approval of the post at anytime.
Community management clients can filter all mentions of the kind-34550 event and request moderators to approve each submission. The same moderator can remove his/her approval of the post at any time.
# Post Approval by moderators
The post approval includes a stringified `new post request` event inside the content's 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
{
@ -68,13 +68,13 @@ The post approval includes a stringified `new post request` event inside the con
}
```
It's recommended that multiple moderators approve posts to avoid unapproving them when a given moderator is removed from the owner's list. In case the full list of moderators must be rotated, the new moderator set must sign post approvals for the past post or the community will restart.
It's recommended that multiple moderators approve posts to avoid unapproving them when a given moderator is removed from the owner's list. In case the full list of moderators must be rotated, the new moderator set must sign post-approvals for posts in the past or the community will restart.
# Displaying
Community clients can display posts that have been approved by at least 1 moderator or by the community owner.
Community clients can display posts that have been approved by at least 1 moderator or by the community owner.
The following filter displays the approved posts.
The following filter displays the approved posts.
```js
{