mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-01-29 06:10:54 +00:00
Use 512x512 user profile pictures (#826)
This commit is contained in:
@@ -30,7 +30,7 @@ public partial record User
|
||||
? "gif"
|
||||
: "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)
|
||||
@@ -47,4 +47,4 @@ public partial record User
|
||||
|
||||
return new User(id, isBot, discriminator, name, avatarUrl);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -302,6 +302,7 @@
|
||||
border-radius: 50%;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
image-rendering: high-quality;
|
||||
}
|
||||
|
||||
.chatlog__messages {
|
||||
@@ -777,4 +778,4 @@
|
||||
</div>
|
||||
|
||||
@{/* Preamble cuts off at this point */}
|
||||
<div class="chatlog">
|
||||
<div class="chatlog">
|
||||
|
||||
Reference in New Issue
Block a user