Skip to content

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.

@qlty-cloud-legacy
Copy link

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
@jasonbahl jasonbahl requested a review from josephfusco March 6, 2024 06:56
@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
@jasonbahl jasonbahl mentioned this pull request Mar 14, 2024
@justlevine justlevine deleted the fix/3064-respect-show-avatar-setting branch August 3, 2024 11:57
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

4 participants