From e0671101e4b217ff891fad85482e5943aa5cf543 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 7 Jan 2023 23:44:02 -0800 Subject: avatar fix --- src/components/Avatar.svelte | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/components') diff --git a/src/components/Avatar.svelte b/src/components/Avatar.svelte index 75d39d9f..8c819709 100644 --- a/src/components/Avatar.svelte +++ b/src/components/Avatar.svelte @@ -12,9 +12,7 @@ $: src = '/api/public/' + - (user?.profile - ? user.uuid + '-profile.webp' - : 'punks/' + punk(user?.pubkey)); + (user?.profile ? user.uuid + '-profile.webp' : 'punks/' + punk(user?.pubkey || user?.uuid || 'aa')); -- cgit v1.2.3