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

User Avatar Not Updated #669

Open
cibersheep opened this issue Jan 19, 2024 · 3 comments
Open

User Avatar Not Updated #669

cibersheep opened this issue Jan 19, 2024 · 3 comments
Labels
Needs triage [Type] Bug Something isn't working

Comments

@cibersheep
Copy link

cibersheep commented Jan 19, 2024

Quick summary

The avatar of the Wordpress user is not updated in Mastodon after being followed

Steps to reproduce

  1. Assaign an avatar to the Wordpress user via Gravatar
  2. Follow Wordpress user in Mastodon
  3. Upload a new avatar for the user in Gravatar. Set it as default
  4. Update user info in Mastdon

What you expected to happen

Avatar is updated to the current Gravatar picture

What actually happened

In Mastdon, you still see the first avatar from Gravatar
Unfollow and refollow doesn't make any difference

Impact

Some (< 50%)

Available workarounds?

There is no user impact

Logs or notes

No response

@cibersheep cibersheep added [Type] Bug Something isn't working Needs triage labels Jan 19, 2024
Copy link

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@pfefferle
Copy link
Member

The problem with that is, that WordPress does not really know if the Avatar is updated 🤔

@janboddez
Copy link
Contributor

janboddez commented Jun 19, 2024

As a (temporary?) workaround, could you not subsequently also update your user profile (like change your bio, or even just press the Update button, in WordPress, after having updated the Gravatar image)?

Wouldn't that cause WordPress to push an update to followers' servers?

Not sure if that'd get those servers to (re-)download the image ... Could still be Mastodon is like, "Meh, same URL, don't need to check if maybe the image itself has changed." (If so, that would be a Mastodon issue.)

A "better" solution could be to eventually have WordPress check (like, once a day or so) if the image hasn't changed (by downloading it and compare the [binary] data or a hash thereof or something with an earlier version).

Another possible solution might be to use a local avatar, maybe? Through a plugin? Although I'm not sure if updating it would trigger an Update request. I guess it'd depend on where you set it, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs triage [Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants