-
-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Don't remove file extension when recoding avatars
There was a bug that file extensions were removed when recoding an avatar. The problem was that `recode_avatar` used `name` to check for the extension, but some functions passed an empty string. There even were two tests from before the decision to keep the extensions that tested for the faulty behavior.
- Loading branch information
Showing
2 changed files
with
11 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters