From 8bbcfc3534feceb5fb5756ba29613ab327e7ea5c Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 6 Jan 2023 21:22:39 -0800 Subject: switch to uuid for images --- src/components/Avatar.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/Avatar.svelte') 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))); -- cgit v1.2.3