armstrys on Nostr: Long-form events already have a different event id when they get “replaced” ...
Long-form events already have a different event id when they get “replaced” (edited). Should be as easy as making sure the relay keeps all copies and doing a git diff on the content.
Published at
2024-07-18 13:22:51Event JSON
{
"id": "ca45021b1aa0fa5f8494211dae4b2d7e101e31dfdf4722f38f782c22ee8fb5aa",
"pubkey": "c80b5248fbe8f392bc3ba45091fb4e6e2b5872387601bf90f53992366b30d720",
"created_at": 1721308971,
"kind": 1,
"tags": [
[
"e",
"39e085350dca87a3a581381ecd317f91503bc82d397b1821b5b21fb4884ed0cd",
"",
"root"
],
[
"e",
"1ada6cabc8c79530583b272e5afc84826fdfbf6137db913d959b30b619f91039",
"",
"reply"
],
[
"p",
"dd664d5e4016433a8cd69f005ae1480804351789b59de5af06276de65633d319"
],
[
"client",
"Nostur",
"31990:9be0be0fc079548233231614e4e1efc9f28b0db398011efeecf05fe570e5dd33:1685868693432"
]
],
"content": "Long-form events already have a different event id when they get “replaced” (edited). Should be as easy as making sure the relay keeps all copies and doing a git diff on the content. ",
"sig": "b53c492d4d15c495f87a088406764145f51475e021f0fa411cb83f77ab9cd0e1446101b4fedd792ac902d2aba881b0175a40e350399e677ec9a7278e724d2bfb"
}