Abhay on Nostr: The way amethyst does it is when you edit a note it adds a PRE event. Your kind 1 ...
The way amethyst does it is when you edit a note it adds a PRE event. Your kind 1 will always be there.
It just checks if there are edits for that note and if there are it replaces it with the edited note on the client. I don't see this as being too complex.
Published at
2024-11-07 04:49:33Event JSON
{
"id": "1469c3adf699169f98ee035513a408d179a35bafc83be27402fc3a4de0c11e46",
"pubkey": "c21b1a6cdb247ccbd938dcb16b15a4fa382d00ffd7b12d5cbbad172a0cd4d170",
"created_at": 1730954973,
"kind": 1,
"tags": [
[
"e",
"b8f9fb098c46068cb3c542cc891b33c2bb2607510d6e7cc14c764d2cd93d3dc2",
"",
"root"
],
[
"e",
"c513f4ea3554fffe702e821ff35066553d3dd4a4d28f4801717b4b9bb95875f8"
],
[
"e",
"4048626604381783a22f50b4c2afa47504d067ce840fae35426f90ad4c583178",
"",
"reply"
],
[
"p",
"c21b1a6cdb247ccbd938dcb16b15a4fa382d00ffd7b12d5cbbad172a0cd4d170"
],
[
"p",
"2f3391fe9799eaa8f59401cc059b447f4922da54d3723a77944f30be809acd4d"
]
],
"content": "The way amethyst does it is when you edit a note it adds a PRE event. Your kind 1 will always be there. \n\nIt just checks if there are edits for that note and if there are it replaces it with the edited note on the client. I don't see this as being too complex. \n\n",
"sig": "01d5793b8fae1ff96aac365ed6705db9b2c4dd6f557fb96c9331316418523728a3aa52e356aa1f942a121670fde7a4edc5a7bc52fb789f3d52f6662bbec05253"
}