mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
fix delete-message => delete-event.
This commit is contained in:
parent
3ed14fe70a
commit
a91798ba39
5
29.md
5
29.md
|
@ -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>"],
|
||||
|
|
Loading…
Reference in New Issue
Block a user