NIP-17: Add section on deletion (#2260)

Co-authored-by: Jon Staab <shtaab@gmail.com>
This commit is contained in:
hodlbod
2026-05-28 13:47:14 -07:00
committed by GitHub
parent 6a6868bfef
commit 3b73d29e94

6
17.md
View File

@@ -156,6 +156,12 @@ Relays MAY protect message metadata by only serving `kind:1059` events to users
Clients SHOULD guide users to keep `kind:10050` lists small (1-3 relays) and SHOULD spread them to as many relays as viable.
## Delete and Edit
In addition to the deletion behavior specified in [NIP 59](59.md), in which gift wraps can be deleted by the `p`-tagged recipient, clients MAY also allow users to delete messages by wrapping a `kind:5` delete event in a `kind:1059` gift wrap and sending it to the recipient as part of the conversation. Clients SHOULD remove deleted messages from the conversation, or indicate whether a message has been deleted.
Clients MAY implement edit by deleting an event and publishing another one with the same timestamp.
## Benefits & Limitations
This NIP offers the following privacy and security features: