communities multiple independent kinds.

This commit is contained in:
fiatjaf 2023-10-28 13:42:27 -03:00
parent 5dcfe85306
commit 2f403e1e95
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

12
72.md
View File

@ -44,7 +44,7 @@ Any Nostr event can be submitted to a community by anyone for approval. Clients
```json ```json
{ {
"kind": 1, "kind": 4549,
"tags": [ "tags": [
["a", "34550:<community event author pubkey>:<community-d-identifier>", "<optional-relay-url>"], ["a", "34550:<community event author pubkey>:<community-d-identifier>", "<optional-relay-url>"],
], ],
@ -99,3 +99,13 @@ The following filter displays the approved posts.
``` ```
Clients MAY hide approvals by blocked moderators at the user's request. Clients MAY hide approvals by blocked moderators at the user's request.
# Other kinds of Community-scoped Events
Clients MAY decide to support multiple other kinds to be published for consumption only inside a specific community. These kinds follow the same structure defined for them in other NIPs, but with a different kind number:
| Community-scoped Kind | Original Kind | Original NIP |
| ----------------------- | --------------- | -------------- |
| 4549 | 1 | 1 |
| 30500 | 23 | 23 |
| 10500 | 0 | 1 |