Gravatar refresh not working

I recently updated my avatar on Gravatar. I know discourse caches these images so I decided to manually refresh the image but it’s not applied and now I only have placeholder 1px avatar.

What seems to happen:
When clicking refresh, a new image gets downloaded and avatar index gets increased, but my user still has same index in URL returned from server.

Example from my local instance:
My user’s avatar: /user_avatar/discuss.tano.si/tadej/90/2_1.png
When I inspect Gravatar in user settings: /user_avatar/discuss.tano.si/tadej/90/17_1.png

I experience the same here on meta and on my instance (latest beta).

2 Likes

Sure, @zogstrip can you have a peek?

@zogstrip is this similar to the gravatar issue we are seeing with @purldator’s account?

1 Like

I guess I’ll find out :wink:

2 Likes

Ok, the fix is in :poodle:

https://github.com/discourse/discourse/commit/07e7b07b63caff59c94bff3b43889009010a03bb

And yes, @sam, it’s the same issue that is affecting @purldator’s avatar.

4 Likes