ssb: People without profile images get emoji faces. I'm amazed it took me this long.

This commit is contained in:
Cory McWilliams 2025-01-18 21:17:07 -05:00
parent 2def15337d
commit ac12e350bf
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{ {
"type": "tildefriends-app", "type": "tildefriends-app",
"emoji": "🦀", "emoji": "🦀",
"previous": "&ylIHNCaX9UzGb13pGbe7vqDlypSEuoxIxWzYLELHXXg=.sha256" "previous": "&S5oR3IlKRh5xZbC55c0jeBiO2lv1LCBR5GepCPe4YL0=.sha256"
} }

View File

@ -24,7 +24,7 @@ class TfUserElement extends LitElement {
let image = html`<span let image = html`<span
class=${'w3-theme-l4 ' + shape} class=${'w3-theme-l4 ' + shape}
style="display: inline-block; width: 2em; height: 2em; text-align: center; line-height: 2em" style="display: inline-block; width: 2em; height: 2em; text-align: center; line-height: 2em"
>?</span >😎</span
>`; >`;
let name = this.users?.[this.id]?.name; let name = this.users?.[this.id]?.name;
name = html`<a target="_top" href=${'#' + this.id} name = html`<a target="_top" href=${'#' + this.id}