mikedilger on Nostr: I made a separate table that maps address (pubkey/id/d-tag) to a deleted-at ...
I made a separate table that maps address (pubkey/id/d-tag) to a deleted-at timestamp. Then everytime an addressable event comes in, I check the table to see if it was dated before the deletion (toss it) or after (keep it).
Published at
2025-01-23 19:25:17Event JSON
{
"id": "95f3eb26f8c46a997714bb9f022cc40590fe41b634e14398cba5258749b3be68",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1737660317,
"kind": 1,
"tags": [
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
],
[
"e",
"d0602842848c44ce48a1d210257421581ca78fdc6d7e8bd0453f9f0914e60cee",
"wss://nostr.einundzwanzig.space/",
"root",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
],
[
"e",
"7d0f7a7cc42ebb21a1638ccb34bc69a775c426a2b1731c9f5030cae2e900f8cb",
"wss://nostr.einundzwanzig.space/",
"reply",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
]
],
"content": "I made a separate table that maps address (pubkey/id/d-tag) to a deleted-at timestamp. Then everytime an addressable event comes in, I check the table to see if it was dated before the deletion (toss it) or after (keep it).",
"sig": "a234acf21a6e57cae2148482716fc5324d30cb29f2d5e0a4c8981ae42d662f03189dbcf1e415f515120df02ebf82777c62aa8b720a56fa224d699087250d02b1"
}