aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Avatar.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Avatar.svelte')
-rw-r--r--src/components/Avatar.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Avatar.svelte b/src/components/Avatar.svelte
index bb88d243..05b2c63b 100644
--- a/src/components/Avatar.svelte
+++ b/src/components/Avatar.svelte
@@ -13,7 +13,7 @@
$: src =
'/api/public/' +
(user?.profile
- ? user.username + '-profile.webp'
+ ? user.uuid + '-profile.webp'
: 'punks/' + punk(user?.pubkey || parseInt(Math.random() * 255).toString(16)));
</script>