fix delete-message => delete-event.

This commit is contained in:
fiatjaf 2023-11-04 18:28:39 -03:00
parent 3ed14fe70a
commit a91798ba39

5
29.md
View File

@ -86,8 +86,8 @@ The list of capabilities, as defined by this NIP, for now, is the following:
"content": "list of admins for the pizza lovers group", "content": "list of admins for the pizza lovers group",
"tags": [ "tags": [
["d", "<group-id>"], ["d", "<group-id>"],
["<pubkey1-as-hex>", "admin", "add-user", "edit-metadata", "delete-message", "ban-user"], ["<pubkey1-as-hex>", "admin", "add-user", "edit-metadata", "delete-event", "ban-user"],
["<pubkey2-as-hex>", "mod", "add-user", "delete-message"] ["<pubkey2-as-hex>", "mod", "add-user", "delete-event"]
] ]
... ...
} }
@ -105,7 +105,6 @@ An event sent from a client to the relay in order to accomplish a moderation act
["g", "<group-id>"], ["g", "<group-id>"],
["action", "add-user", "<pubkey-to-add>"], ["action", "add-user", "<pubkey-to-add>"],
["action", "ban-user", "<pubkey-to-ban>"], ["action", "ban-user", "<pubkey-to-ban>"],
["action", "delete-message", "<event-id-to-delete>"],
["action", "edit-metadata", "<field-name>", "<field-value>"], ["action", "edit-metadata", "<field-name>", "<field-value>"],
["action", "add-permission", "<pubkey>", "<permission>"], ["action", "add-permission", "<pubkey>", "<permission>"],
["action", "remove-permission", "<pubkey>", "<permission>"], ["action", "remove-permission", "<pubkey>", "<permission>"],