xarvos to Lemmy · 3 years agoPost witrh negative comments?imagemessage-square10fedilinkarrow-up118arrow-down10
arrow-up118arrow-down1imagePost witrh negative comments?xarvos to Lemmy · 3 years agomessage-square10fedilink
minus-squareLunaticHackerlinkfedilinkarrow-up12·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-squareLunaticHackerlinkfedilinkarrow-up10·3 years agoThis also means I can inflate the number of comments by marking deleted as false repeatedly
minus-squarenutomicMAlinkfedilinkarrow-up6·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 :)