-
Notifications
You must be signed in to change notification settings - Fork 721
NIP-72: Moderated communities #602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
81359b1
a933e03
22c1af8
409fc87
99b2796
1982df7
9b22109
7e0f2fd
0392e21
e4273cc
f97be25
3ef96de
b3b9d85
5e3a7fe
f7708e4
e5c0603
2eceac9
c83cf00
3c4963b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -20,12 +20,12 @@ Kind 34550 should include any field that helps define the community and the set | |||||||
| "kind": "34550", | ||||||||
| "tags": [ | ||||||||
| ["d", "<community_name>"], | ||||||||
| ["description", "<community_description>"], | ||||||||
| ["description", "<community_description>"], | ||||||||
|
|
||||||||
| // 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"] | ||||||||
| ] | ||||||||
| } | ||||||||
| ``` | ||||||||
|
|
@@ -61,8 +61,8 @@ The post-approval event includes a stringified `new post request` event inside t | |||||||
| "kind": "34551", | ||||||||
|
||||||||
| "tags": [ | ||||||||
| ["a", "34550:<community event author pubkey>:<d-identifier of the community>", "<optional relay url>"], | ||||||||
| ["e", "<Post Request ID>", "<optional relay url>"], | ||||||||
| ["p", "<Post Request Author ID>", "<optional relay url>"], | ||||||||
| ["e", "<Post Request ID>", "<optional relay url>"], | ||||||||
| ["p", "<Post Request Author ID>", "<optional relay url>"], | ||||||||
| ], | ||||||||
vitorpamplona marked this conversation as resolved.
Show resolved
Hide resolved
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
This would use #539 to make the community owner able to delete post approvals created by others (moderators). Currently the owner can only delete its own approvals or remove moderators (which deletes all approvals from said moderator). |
||||||||
| "content": "{ <New Post Request JSON> }" | ||||||||
| } | ||||||||
|
|
||||||||
Uh oh!
There was an error while loading. Please reload this page.