diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2023-10-28 13:42:27 -0300 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2023-11-18 09:18:12 -0300 |
| commit | 2f403e1e958037b9b0f4e5533482035fc6c1422e (patch) | |
| tree | eaaeed75c0abf80d7e58c6863abaaf7d28783bae | |
| parent | 5dcfe85306434f21ecb1e7a47edd92b2e3e64f9a (diff) | |
communities multiple independent kinds.
| -rw-r--r-- | 72.md | 12 |
1 files changed, 11 insertions, 1 deletions
| @@ -44,7 +44,7 @@ Any Nostr event can be submitted to a community by anyone for approval. Clients | |||
| 44 | 44 | ||
| 45 | ```json | 45 | ```json |
| 46 | { | 46 | { |
| 47 | "kind": 1, | 47 | "kind": 4549, |
| 48 | "tags": [ | 48 | "tags": [ |
| 49 | ["a", "34550:<community event author pubkey>:<community-d-identifier>", "<optional-relay-url>"], | 49 | ["a", "34550:<community event author pubkey>:<community-d-identifier>", "<optional-relay-url>"], |
| 50 | ], | 50 | ], |
| @@ -99,3 +99,13 @@ The following filter displays the approved posts. | |||
| 99 | ``` | 99 | ``` |
| 100 | 100 | ||
| 101 | Clients MAY hide approvals by blocked moderators at the user's request. | 101 | Clients MAY hide approvals by blocked moderators at the user's request. |
| 102 | |||
| 103 | # Other kinds of Community-scoped Events | ||
| 104 | |||
| 105 | 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: | ||
| 106 | |||
| 107 | | Community-scoped Kind | Original Kind | Original NIP | | ||
| 108 | | ----------------------- | --------------- | -------------- | | ||
| 109 | | 4549 | 1 | 1 | | ||
| 110 | | 30500 | 23 | 23 | | ||
| 111 | | 10500 | 0 | 1 | | ||