From 003e0caadad0fc7db3d828329d1febe7de032221 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sun, 12 Jan 2025 11:56:59 -0500 Subject: [PATCH] ssb: Distant/unknown users get a circle avatar, too. --- apps/ssb.json | 2 +- apps/ssb/tf-user.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ssb.json b/apps/ssb.json index 6019b9aa..eaa5668f 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🦀", - "previous": "&19R5jeKIx2u51L6xPL3gV7EXOhHksKNCuTHt+SBEZjg=.sha256" + "previous": "&xWW9fuitFr6jFhe4fopPq2Zuu08ZBzHoKjFAAPx2a/U=.sha256" } diff --git a/apps/ssb/tf-user.js b/apps/ssb/tf-user.js index 4ba4c079..0be2ad01 100644 --- a/apps/ssb/tf-user.js +++ b/apps/ssb/tf-user.js @@ -20,7 +20,7 @@ class TfUserElement extends LitElement { render() { let user = this.users[this.id]; - let shape = user && user.follow_depth >= 2 ? 'w3-circle' : 'w3-round'; + let shape = !user || user.follow_depth >= 2 ? 'w3-circle' : 'w3-round'; let image = html`