Use 512x512 user profile pictures (#826)

pull/853/head
Chris Helder 3 years ago committed by GitHub
parent ffe5544f9c
commit 65cc3954b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,7 +30,7 @@ public partial record User
? "gif" ? "gif"
: "png"; : "png";
return $"https://cdn.discordapp.com/avatars/{id}/{avatarHash}.{extension}?size=128"; return $"https://cdn.discordapp.com/avatars/{id}/{avatarHash}.{extension}?size=512";
} }
public static User Parse(JsonElement json) public static User Parse(JsonElement json)

@ -302,6 +302,7 @@
border-radius: 50%; border-radius: 50%;
width: 40px; width: 40px;
height: 40px; height: 40px;
image-rendering: high-quality;
} }
.chatlog__messages { .chatlog__messages {

Loading…
Cancel
Save