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

Save avatar or header correctly even if other one fails #18465

Merged
merged 2 commits into from Dec 15, 2022

Conversation

tribela
Copy link
Contributor

@tribela tribela commented May 20, 2022

Some users from remote(misskey or pleroma) may has webp header and png avatar at the same time (or vice versa).
Currently, Mastodon will reject both if one fails, Resulting their profile picture is not shown
This PR fixes that problem.

@tribela tribela force-pushed the fix-account-image branch 2 times, most recently from 878cd6b to 1d4a5e7 Compare May 20, 2022 08:08
@tribela tribela changed the title Save avatar or header correctly if other one fails Save avatar or header correctly even if other one fails May 20, 2022
@stale
Copy link

stale bot commented Sep 21, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status/wontfix This will not be worked on label Sep 21, 2022
@ClearlyClaire
Copy link
Contributor

Please don't close this, stalebot

@ineffyble ineffyble removed the status/wontfix This will not be worked on label Dec 10, 2022
@Gargron Gargron merged commit d412147 into mastodon:main Dec 15, 2022
neatchee pushed a commit to neatchee/mastodon that referenced this pull request Dec 16, 2022
* Save avatar or header correctly if other one fails

* Fix test
nametoolong pushed a commit to nametoolong/nuage that referenced this pull request Jan 12, 2023
* Save avatar or header correctly if other one fails

* Fix test
@tribela tribela deleted the fix-account-image branch February 11, 2023 01: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.

None yet

4 participants