diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2023-11-04 18:28:39 -0300 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2024-02-23 20:51:46 -0300 |
| commit | a91798ba396535878005045039885a8e059dd189 (patch) | |
| tree | 92f5a853dad3c1c91b144662613a6d95b2a13143 | |
| parent | 3ed14fe70ab413ef32a748af065298e7226e9558 (diff) | |
fix delete-message => delete-event.
| -rw-r--r-- | 29.md | 5 |
1 files changed, 2 insertions, 3 deletions
| @@ -86,8 +86,8 @@ The list of capabilities, as defined by this NIP, for now, is the following: | |||
| 86 | "content": "list of admins for the pizza lovers group", | 86 | "content": "list of admins for the pizza lovers group", |
| 87 | "tags": [ | 87 | "tags": [ |
| 88 | ["d", "<group-id>"], | 88 | ["d", "<group-id>"], |
| 89 | ["<pubkey1-as-hex>", "admin", "add-user", "edit-metadata", "delete-message", "ban-user"], | 89 | ["<pubkey1-as-hex>", "admin", "add-user", "edit-metadata", "delete-event", "ban-user"], |
| 90 | ["<pubkey2-as-hex>", "mod", "add-user", "delete-message"] | 90 | ["<pubkey2-as-hex>", "mod", "add-user", "delete-event"] |
| 91 | ] | 91 | ] |
| 92 | ... | 92 | ... |
| 93 | } | 93 | } |
| @@ -105,7 +105,6 @@ An event sent from a client to the relay in order to accomplish a moderation act | |||
| 105 | ["g", "<group-id>"], | 105 | ["g", "<group-id>"], |
| 106 | ["action", "add-user", "<pubkey-to-add>"], | 106 | ["action", "add-user", "<pubkey-to-add>"], |
| 107 | ["action", "ban-user", "<pubkey-to-ban>"], | 107 | ["action", "ban-user", "<pubkey-to-ban>"], |
| 108 | ["action", "delete-message", "<event-id-to-delete>"], | ||
| 109 | ["action", "edit-metadata", "<field-name>", "<field-value>"], | 108 | ["action", "edit-metadata", "<field-name>", "<field-value>"], |
| 110 | ["action", "add-permission", "<pubkey>", "<permission>"], | 109 | ["action", "add-permission", "<pubkey>", "<permission>"], |
| 111 | ["action", "remove-permission", "<pubkey>", "<permission>"], | 110 | ["action", "remove-permission", "<pubkey>", "<permission>"], |