upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Staab <shtaab@gmail.com>2024-07-29 07:38:29 -0700
committerJon Staab <shtaab@gmail.com>2024-07-29 07:38:29 -0700
commit985fd30cd98451d1311d28bf4d596d70e0c7fd6d (patch)
treea2633e72de731b747480b18062acf7ecda3f89e5
parent2092fdd49a4f9fd274b24100283d73b193cf04e7 (diff)
Add k tag to deletions
-rw-r--r--09.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/09.md b/09.md
index 5e79ac2..b6aa72c 100644
--- a/09.md
+++ b/09.md
@@ -6,9 +6,7 @@ Event Deletion
6 6
7`draft` `optional` 7`draft` `optional`
8 8
9A 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. 9A 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
11Each tag entry must contain an "e" event id and/or `a` tags intended for deletion.
12 10
13The event's `content` field MAY contain a text note describing the reason for the deletion. 11The 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