xarvos@lemmy.ml to Lemmy@lemmy.ml · 3 years agoPost witrh negative comments?lemmy.mlimagemessage-square14fedilinkarrow-up111arrow-down10
arrow-up111arrow-down1imagePost witrh negative comments?lemmy.mlxarvos@lemmy.ml to Lemmy@lemmy.ml · 3 years agomessage-square14fedilink
minus-squareLunaticHacker@lemmy.mllinkfedilinkarrow-up8·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-squareLunaticHacker@lemmy.mllinkfedilinkarrow-up4·3 years agoThis also means I can inflate the number of comments by marking deleted as false repeatedly
minus-squarenutomic@lemmy.mlMlinkfedilinkarrow-up1·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 :)