this post was submitted on 23 Dec 2023
122 points (99.2% liked)

Boost For Lemmy

7046 readers
13 users here now

Community of the Android app Boost for Lemmy Play Store Link

founded 1 year ago
MODERATORS
 

This comment was the first one I ever saw that said "Deleted by creator" so I was wondering what would happen if you copy the text of it. Apparently, this shows the text of the deleted comment. Is this a bug?

you are viewing a single comment's thread
view the rest of the comments
[–] flooppoolf@lemmy.world 43 points 10 months ago (3 children)

It was probably cached beforehand.

I remember on the old forum with the alien I could hit refresh constantly to see what deleted comments had said if it was cached on time.

[–] gens@programming.dev 7 points 10 months ago (1 children)

The hardest thing in programming is naming things, off by one errors, and cache invalidation.

[–] savedbythezsh@sh.itjust.works 4 points 10 months ago

The joke is supposed to be "the two hardest problems in programming are naming things, cache invalidation, and off-by-one-errors" - the joke being that you say two problems and are off by one.

[–] rmayayo@lemmy.world 1 points 10 months ago

Lemmy API returns comment content even if it was removed, but with a removed flag. Boost should not show the content in the copy dialog.