-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix how we pull in pfps when creating oauth users (#791)
When the oauth service did not include a file extension in its url, which is a totally reasonable thing to do, we would just... fail to create the user altogether. This PR does two things: 1. Makes sure user creation happens regardless of pfp processing. 2. Uses `Image` to load the raw binary data for the oauth pfp and always write it out as jpg.
- Loading branch information
Showing
2 changed files
with
16 additions
and
18 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