diff options
| author | sepehr-safari <safari.sepehr@gmail.com> | 2024-08-18 14:54:21 +0330 |
|---|---|---|
| committer | fiatjaf_ <fiatjaf@gmail.com> | 2024-08-18 15:01:00 -0300 |
| commit | 055101786bb4570f00a14f347c22545833922414 (patch) | |
| tree | 1a8165f2d8c8c7c0405077b0af8b87c566f93236 | |
| parent | 2c7e2af15fbdf09bec5c673a56010797f02f206f (diff) | |
add kind 9008 for deleting a group
| -rw-r--r-- | 29.md | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -120,6 +120,7 @@ Each moderation action uses a different kind and requires different arguments, w | |||
| 120 | | 9005 | `delete-event` | `e` (id hex) | | 120 | | 9005 | `delete-event` | `e` (id hex) | |
| 121 | | 9006 | `edit-group-status` | `public` or `private`, `open` or `closed` | | 121 | | 9006 | `edit-group-status` | `public` or `private`, `open` or `closed` | |
| 122 | | 9007 | `create-group` | | | 122 | | 9007 | `create-group` | | |
| 123 | | 9008 | `delete-group` | | | ||
| 123 | 124 | ||
| 124 | - *group metadata* (`kind:39000`) (optional) | 125 | - *group metadata* (`kind:39000`) (optional) |
| 125 | 126 | ||
| @@ -160,6 +161,7 @@ The list of capabilities, as defined by this NIP, for now, is the following: | |||
| 160 | - `add-permission` | 161 | - `add-permission` |
| 161 | - `remove-permission` | 162 | - `remove-permission` |
| 162 | - `edit-group-status` | 163 | - `edit-group-status` |
| 164 | - `delete-group` | ||
| 163 | 165 | ||
| 164 | ```js | 166 | ```js |
| 165 | { | 167 | { |