diff options
Diffstat (limited to '29.md')
| -rw-r--r-- | 29.md | 18 |
1 files changed, 9 insertions, 9 deletions
| @@ -99,15 +99,15 @@ Clients can send these events to a relay in order to accomplish a moderation act | |||
| 99 | 99 | ||
| 100 | Each moderation action uses a different kind and requires different arguments, which are given as tags. These are defined in the following table: | 100 | Each moderation action uses a different kind and requires different arguments, which are given as tags. These are defined in the following table: |
| 101 | 101 | ||
| 102 | | kind | name | tags | | 102 | | kind | name | tags | |
| 103 | | --- | --- | --- | | 103 | | --- | --- | --- | |
| 104 | | 9000 | `add-user` | `p` (pubkey hex) | | 104 | | 9000 | `add-user` | `p` (pubkey hex) | |
| 105 | | 9001 | `remove-user` | `p` (pubkey hex) | | 105 | | 9001 | `remove-user` | `p` (pubkey hex) | |
| 106 | | 9002 | `edit-metadata` | `name`, `about`, `picture` (string) | | 106 | | 9002 | `edit-metadata` | `name`, `about`, `picture` (string) | |
| 107 | | 9003 | `add-permission` | `p` (pubkey), `permission` (name) | | 107 | | 9003 | `add-permission` | `p` (pubkey), `permission` (name) | |
| 108 | | 9004 | `remove-permission` | `p` (pubkey), `permission` (name) | | 108 | | 9004 | `remove-permission` | `p` (pubkey), `permission` (name) | |
| 109 | | 9005 | `delete-event` | `e` (id hex) | | 109 | | 9005 | `delete-event` | `e` (id hex) | |
| 110 | | 9006 | `edit-group-status` | `public`, `open`, `private`, `closed` | | 110 | | 9006 | `edit-group-status` | `public` or `private`, `open` or `closed` | |
| 111 | 111 | ||
| 112 | - *group metadata* (`kind:39000`) (optional) | 112 | - *group metadata* (`kind:39000`) (optional) |
| 113 | 113 | ||