UserPFP: Fix conflict

This commit is contained in:
thororen1234 2026-07-30 03:26:53 -04:00
parent 7e126aa1c2
commit 015dc5dd82
No known key found for this signature in database

View file

@ -153,6 +153,8 @@ export default definePlugin({
if (avatars[userId]) {
const customUrl = avatars[userId];
if (customUrl.startsWith("data:")) return customUrl;
try {
const res = new URL(customUrl);
if (size) res.searchParams.set("size", size.toString());