mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
add kind 9008 for deleting a group
This commit is contained in:
parent
2c7e2af15f
commit
055101786b
2
29.md
2
29.md
|
@ -120,6 +120,7 @@ Each moderation action uses a different kind and requires different arguments, w
|
||||||
| 9005 | `delete-event` | `e` (id hex) |
|
| 9005 | `delete-event` | `e` (id hex) |
|
||||||
| 9006 | `edit-group-status` | `public` or `private`, `open` or `closed` |
|
| 9006 | `edit-group-status` | `public` or `private`, `open` or `closed` |
|
||||||
| 9007 | `create-group` | |
|
| 9007 | `create-group` | |
|
||||||
|
| 9008 | `delete-group` | |
|
||||||
|
|
||||||
- *group metadata* (`kind:39000`) (optional)
|
- *group metadata* (`kind:39000`) (optional)
|
||||||
|
|
||||||
|
@ -160,6 +161,7 @@ The list of capabilities, as defined by this NIP, for now, is the following:
|
||||||
- `add-permission`
|
- `add-permission`
|
||||||
- `remove-permission`
|
- `remove-permission`
|
||||||
- `edit-group-status`
|
- `edit-group-status`
|
||||||
|
- `delete-group`
|
||||||
|
|
||||||
```js
|
```js
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user