7
[Bug/Feature?] Use SELECT TEXT on a deleted comment
(lemmy.eco.br)
The official lemmy community for Voyager, an open source, mobile-first client for lemmy.
๐
Interesting the API returns the text for people that shouldn't have access. That's a bug with Lemmy I'd say. A ticket should probably be filed there
Put up a PR to fix this with voyager tho, quick change. Keeps the button around for mods & the author, but hides it for everyone else when the comment is removed
It seems to be a feature of Lemmy to keep deleted comments, so they can be restored if deleted by accident. https://github.com/LemmyNet/lemmy/issues/2977
A few weeks ago they merged a change to purge deleted comments after 30 days: https://github.com/LemmyNet/lemmy/pull/3208
For users that want to delete their comment, it seems like editing it is a more effective option.
Was more thinking the api should sanitize those for normal people. Makes sense that they'd continue to exist in the database for restoration
Agree with the editing. Mods get a purge button also, which makes a bit more sense now