diff options
| author | Oscar Merry <MerryOscar@users.noreply.github.com> | 2024-08-05 23:08:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-05 23:08:41 +0100 |
| commit | 29eec055c2ccf115dae3e8560506b480f1a6de05 (patch) | |
| tree | 634fa65565d0bf40eca479de9851c0c95058af72 /09.md | |
| parent | 13b830d228b122b29f9d96a3bf10601406ddd646 (diff) | |
| parent | 428a4779d7c4f4c2ff53815e8958e7cf99d69d26 (diff) | |
Merge branch 'nostr-protocol:master' into external-content-ids
Diffstat (limited to '09.md')
| -rw-r--r-- | 09.md | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -6,9 +6,7 @@ Event Deletion | |||
| 6 | 6 | ||
| 7 | `draft` `optional` | 7 | `draft` `optional` |
| 8 | 8 | ||
| 9 | A special event with kind `5`, meaning "deletion" is defined as having a list of one or more `e` tags, each referencing an event the author is requesting to be deleted. | 9 | A special event with kind `5`, meaning "deletion" is defined as having a list of one or more `e` or `a` tags, each referencing an event the author is requesting to be deleted. Deletion requests SHOULD include a `k` tag for the kind of each event being deleted. |
| 10 | |||
| 11 | Each tag entry must contain an "e" event id and/or `a` tags intended for deletion. | ||
| 12 | 10 | ||
| 13 | The event's `content` field MAY contain a text note describing the reason for the deletion. | 11 | The event's `content` field MAY contain a text note describing the reason for the deletion. |
| 14 | 12 | ||
| @@ -21,7 +19,9 @@ For example: | |||
| 21 | "tags": [ | 19 | "tags": [ |
| 22 | ["e", "dcd59..464a2"], | 20 | ["e", "dcd59..464a2"], |
| 23 | ["e", "968c5..ad7a4"], | 21 | ["e", "968c5..ad7a4"], |
| 24 | ["a", "<kind>:<pubkey>:<d-identifier>"] | 22 | ["a", "<kind>:<pubkey>:<d-identifier>"], |
| 23 | ["k", "1"], | ||
| 24 | ["k", "30023"] | ||
| 25 | ], | 25 | ], |
| 26 | "content": "these posts were published by accident", | 26 | "content": "these posts were published by accident", |
| 27 | ...other fields | 27 | ...other fields |