planetary-social / nosrelay

0 stars 0 forks source link

Complete NIP-62 #20

Open dcadenas opened 5 days ago

dcadenas commented 5 days ago

I noticed that Nip 62 has a couple of details that we still don't implement:

Relays SHOULD delete all [NIP-59](https://github.com/nostr-protocol/nips/blob/44d81229fe864c1abf8ba2b3431598712459a11a/59.md) Gift Wraps that p-tagged the .pubkey, deleting all DMs to the pubkey.

Relays MUST ensure the deleted events cannot be re-broadcasted into the relay.
dcadenas commented 2 days ago

Although this is only for relays. It seems that a similar logic should be added to all related services and previously deleted pubkeys need to be remembered, at least for some period.