Fixing your broken image URLs with a very simple and backwards-compatible approach (also compatible with NIP-96): https://github.com/nostr-protocol/nips/pull/898
Discussion
💪
nostr:note1cpjtqvar3fcdpur73qxrl545q68rx6ar3t636ssrk2fhpg578dys42xc5n
I would accept the kind:4001 only from the original note owner, it is tricky to manage a priority queue of events in a decentralized environment, which leads to possible attacks. At least at the beginning, to see how things flow.
Or I would make it optional using a tag in the kind:1; this could be by default non permissive, with a client preference.
Good point
Yes, sure, you could opt to just accept URLs from the original author, that would already be an improvement over what we have today.
What do you mean by "optional tag in the kind:1"? Of course this is completely optional.
Something like this:
"kind": 1,
"content": "I just painted this:
",
tags": [
["4001-by-others", "permit"],
...
I mean optional to enable the replacement for my notes, not to see the replaced ones by others. If a client support this NIP the replacement should be always active, maybe showing that an image has been replaced with a mark.
Looks good.