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",
"tags": [
["d", "<group-id>"],
["<pubkey1-as-hex>", "admin", "add-user", "edit-metadata", "delete-message", "ban-user"],
["<pubkey2-as-hex>", "mod", "add-user", "delete-message"]
["<pubkey1-as-hex>", "admin", "add-user", "edit-metadata", "delete-event", "ban-user"],
["<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>"],
["action", "add-user", "<pubkey-to-add>"],
["action", "ban-user", "<pubkey-to-ban>"],
["action", "delete-message", "<event-id-to-delete>"],
["action", "edit-metadata", "<field-name>", "<field-value>"],
["action", "add-permission", "<pubkey>", "<permission>"],
["action", "remove-permission", "<pubkey>", "<permission>"],