julian on Nostr: Sometimes when NodeBB attempts to retrieve a remote user, it will encounter the HTTP ...
Sometimes when NodeBB attempts to retrieve a remote user, it will encounter the HTTP status code 410 Gone, which I take to mean that the user has been deleted from the origin server.
I mostly see it from spam accounts that were deleted, but I could potentially see that returned if users manually delete their own accounts.
The easy way forward here would be to see this and immediately delete all content I have locally for that user... all posts we have cached, the local profile, etc.
Downside is it could mean good conversations could suddenly have a hole in them when the account is deleted. We actually circumvent this in NodeBB by not allowing the user to one-click purge all of their content; an administrator is usually involved in the process.
But as always, different implementers might mean different things with 410 Gone, so I hesitate and wonder whether the simple path is the right path...
Published at
2024-06-10 19:40:51Event JSON
{
"id": "03c5313255dfc144d9f653ec7d003b8f8618f25d0fc1511febee5a9ee4283fd9",
"pubkey": "e029f14f762f4c51bfdbbc1ff1b2a0ef5244732192a014cbeea57b8758c36c23",
"created_at": 1718048451,
"kind": 1,
"tags": [
[
"t",
"activitypub"
],
[
"proxy",
"https://community.nodebb.org/post/99982",
"web"
],
[
"proxy",
"https://community.nodebb.org/post/99982",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://community.nodebb.org/post/99982",
"pink.momostr"
]
],
"content": "Sometimes when NodeBB attempts to retrieve a remote user, it will encounter the HTTP status code 410 Gone, which I take to mean that the user has been deleted from the origin server.\n\n\nI mostly see it from spam accounts that were deleted, but I could potentially see that returned if users manually delete their own accounts.\n\n\nThe easy way forward here would be to see this and immediately delete all content I have locally for that user... all posts we have cached, the local profile, etc.\n\n\nDownside is it could mean good conversations could suddenly have a hole in them when the account is deleted. We actually circumvent this in NodeBB by not allowing the user to one-click purge all of their content; an administrator is usually involved in the process.\n\n\nBut as always, different implementers might mean different things with 410 Gone, so I hesitate and wonder whether the simple path is the right path...\n\n\n",
"sig": "70e86ac91d49757f0e6c790a07fec44c14a48f7171aa43fb03a898dc2b493d3c04a8532564ab3694f00916b5edf61b69505c1372a8369da2f421923f490f4c77"
}