fiatjaf on Nostr: Maybe the kind:5 has a new tag ["edit", "<edited-note-id>"] in it so clients and ...
Maybe the kind:5 has a new tag ["edit", "<edited-note-id>"] in it so clients and relays that wants the complex edit flow can know to _not_ delete, but instead to look for its updated version.
So the sequence would be like:
- {kind: 1, content: 'ehllo', id: zzzzzz}
- {kind: 1, content: 'hello', tags: [[r, zzzzzz]], id: ffffff}
- {kind: 5, tags: [[e, zzzzzz], [edit, ffffff]]}
Published at
2024-10-30 11:03:39Event JSON
{
"id": "0000af581cb8ff8a423fb59bb0669b101a3b7b0eae48fefdd6963c7b700c2198",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1730286219,
"kind": 1,
"tags": [
[
"client",
"gossip"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"e",
"8db1dbc5c0497283ffd922f755d17e69d35148e296f4164579ca73d1300a4234",
"wss://nos.lol/",
"root",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"e",
"0000b8dcc38a5fa503f6a3fd4203752cc2ce0f588bb684279a35e0ebd16f6a3e",
"wss://wot.utxo.one/",
"reply",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"nonce",
"4611686018427388064",
"16"
]
],
"content": "Maybe the kind:5 has a new tag [\"edit\", \"\u003cedited-note-id\u003e\"] in it so clients and relays that wants the complex edit flow can know to _not_ delete, but instead to look for its updated version.\n\nSo the sequence would be like:\n\n- {kind: 1, content: 'ehllo', id: zzzzzz}\n- {kind: 1, content: 'hello', tags: [[r, zzzzzz]], id: ffffff}\n- {kind: 5, tags: [[e, zzzzzz], [edit, ffffff]]}",
"sig": "97497dcf9b4b7d3908ca726e75292285a4d3907d4269e6bb69115674377ffdd60b7ce66c52c1154fdfba678b211283e948d73af480d029872958a7a3c9cd5465"
}