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

Bug fix for non-gif buddy icons #62

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

jgknight
Copy link
Contributor

Summary

The mgmt api endpoint assumed image/gif content type. Instead try our best to detect it.

If the content type can't be determined then it defaults to application/octet-stream

Testing

I tested by uploading gif and jpg buddy icons via pidgin and I'm able to fetch them from the api. PNG did not work for me, but it also didn't display in pidgin, so that format may not be supported.

Unit tests pass

The mgmt api endpoint assumed image/gif content type. Instead try our best to detect it.
@mk6i mk6i merged commit a85a4b3 into mk6i:main Aug 30, 2024
1 check passed
@mk6i
Copy link
Owner

mk6i commented Aug 30, 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.

2 participants