mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-29 05:55:21 -04:00
Use 512x512 user profile pictures (#826)
This commit is contained in:
parent
ffe5544f9c
commit
65cc3954b6
2 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||||
|
@ -47,4 +47,4 @@ public partial record User
|
||||||
|
|
||||||
return new User(id, isBot, discriminator, name, avatarUrl);
|
return new User(id, isBot, discriminator, name, avatarUrl);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
@ -777,4 +778,4 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@{/* Preamble cuts off at this point */}
|
@{/* Preamble cuts off at this point */}
|
||||||
<div class="chatlog">
|
<div class="chatlog">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue