-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Posts]: Hide disabled comments info better #507
[Posts]: Hide disabled comments info better #507
Conversation
d04e374
to
8135b62
Compare
8135b62
to
f462356
Compare
Just get rid of the api field entirely. Not sure what I was thinking including that |
I had debated doing that, but didn't want to do a breaking change. Though seeing as that isn't a field really anyone should be relying on, I'm realizing that would have been fine. |
The test didn't fail locally |
I was more meaning something like
Also not really relevant to this, but I'm trying to at least not introduce new dependencies on |
37908a8
to
9c7f896
Compare
Oh, sorry. I interpreted that differently, as you saw. I've changed it to that now. |
Currently, there's a bit of a mix between making disabled comments hard to find, and making them easy to find, as well as leaking a bit of information disabling comments should hide.
This pr:
comment_disabled
andcomment_enabled
post events from non-moderators, as this makes it very easy to find posts with disabled commentsIn theory the comment count can still be sniffed out with a brute force
id:(...) comment_count:
, but I don't think there should really be any concern over that.