lemmy
lemmy copied to clipboard
Users with deleted comments get a negative comment count
- [x] Did you check to see if this issue already exists? [Yes—apologies if I missed it!]
- [x] Is this only a single bug? Do not put multiple bugs in one issue. [Yes, it's a single bug.]
- [x] Is this a question or discussion? Don't use this, use https://lemmy.ml/c/lemmy_support . [No, it's a bug report.]
- [x] Is this a UI / front end issue? Use the lemmy-ui repo. [Doesn't look like it.]
Issue Summary
I noticed that a user whose comments were deleted by a mod now has a negative comment count. Is a counter being decremented twice?
Steps to Reproduce
- Look at @Tretiak's user page.
- Observe that the comment count is negative.
Technical details
- No log—this bug appears on lemmy.ml.
- OS is whatever lemmy.ml runs on.
- No errors in browser console.