Skip to content
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

fix: respect show avatar setting #3067

Merged
merged 5 commits into from Mar 6, 2024

Conversation

jasonbahl
Copy link
Collaborator

@jasonbahl jasonbahl commented Mar 6, 2024

What does this implement/fix? Explain your changes.

This fixes a bug where avatar information would be returned even if the "show_avatars" setting is turned "off" under Settings > Discussion.

Does this close any currently open issues?

closes #3064

Any other comments?

This doesn't change the schema, just the resolve logic.

Since the Avatar field is already nullable, responsible consumers should already be prepared to expect null values for avatars, so preventing avatars from being returned is not considered a breaking change.

Copy link

codeclimate bot commented Mar 6, 2024

Code Climate has analyzed commit a36e4f3 and detected 0 issues on this pull request.

View more on Code Climate.

@jasonbahl jasonbahl self-assigned this Mar 6, 2024
@coveralls
Copy link

Coverage Status

coverage: 84.378% (+0.006%) from 84.372%
when pulling a36e4f3 on fix/3064-respect-show-avatar-setting
into 9d02149 on develop.

@jasonbahl jasonbahl merged commit d5ccf03 into develop Mar 6, 2024
25 checks passed
@jasonbahl jasonbahl mentioned this pull request Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avatar URLs are included in responses when Show Avatars setting is disabled
3 participants