@xarvos@lemmy.ml to Lemmy@lemmy.ml • 3 years agoPost witrh negative comments?lemmy.mlimagemessage-square10fedilinkarrow-up114arrow-down10
arrow-up114arrow-down1imagePost witrh negative comments?lemmy.ml@xarvos@lemmy.ml to Lemmy@lemmy.ml • 3 years agomessage-square10fedilink
minus-squareLunaticHackerlinkfedilink6•3 years agoOK I got some time to properly test this, this happens because you can mark a comment as deleted even if it’s already marked as such. and the db trigger happens every time value of deleted is updated regardless of previous state
minus-squareLunaticHackerlinkfedilink3•3 years agoThis also means I can inflate the number of comments by marking deleted as false repeatedly
minus-square@nutomic@lemmy.mlMlinkfedilink1•3 years agoThanks for figuring it out. Could you please open an issue?
OK I got some time to properly test this, this happens because you can mark a comment as deleted even if it’s already marked as such. and the db trigger happens every time value of deleted is updated regardless of previous state
This also means I can inflate the number of comments by marking deleted as false repeatedly
Thanks for figuring it out. Could you please open an issue?
Done
Thanks :)