jb55 on Nostr: Topic: Editing It would be cool if there was a way to edit notes. Basic idea: a note ...
Topic: Editing
It would be cool if there was a way to edit notes. Basic idea: a note is created with the following tags:
```json
{"tags": [["e","thread_id"],["e","note_id","","edit"]]}
```
Where `note_id` is the note you are editing. Clients can replace the note with the most recent one it sees. It is able to fetch all edit notes because of the thread_id reference.
For clients that don't support this, it will look like a regular reply.
Published at
2022-04-20 20:14:57Event JSON
{
"id": "baabedf905ab83cb7b8325e7c6d1a591ee9fabf8dc67b2b1e87e6db7b6af424d",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1650485697,
"kind": 1,
"tags": [
[
"e",
"dad6d6529bfacddfddfd191f3ecca8028beb804a30c422e41ef702e156ff6ccd"
],
[
"e",
"0000065ca01b1e4e385ddc7ebc5f6f7ebf341e81e238511c883d84e37cd506a0"
]
],
"content": "Topic: Editing\n\nIt would be cool if there was a way to edit notes. Basic idea: a note is created with the following tags:\n\n```json\n{\"tags\": [[\"e\",\"thread_id\"],[\"e\",\"note_id\",\"\",\"edit\"]]}\n```\n\nWhere `note_id` is the note you are editing. Clients can replace the note with the most recent one it sees. It is able to fetch all edit notes because of the thread_id reference.\n\nFor clients that don't support this, it will look like a regular reply.",
"sig": "71f39a17ceb3927e4ba3c69303cbffb7625fe30670f606e89fdadc068aa2270323399dc9b7623708df5bb4652417979ca9f7b87fd149066a2e45b7886b4a7c64"
}