ssb: Support expanding profile images the same as other images. #122
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled

This commit is contained in:
2025-05-31 16:11:13 -04:00
parent 4040d6aa08
commit ab9f57f044
3 changed files with 37 additions and 4 deletions

View File

@ -616,7 +616,6 @@ class TfMessageElement extends LitElement {
if (group) {
result.push({author: last[0], action: last[1], users: group});
}
console.log(this.message.messages, result);
return result;
}
@ -736,7 +735,7 @@ class TfMessageElement extends LitElement {
}
if (content.image !== undefined) {
image = html`
<div><img src=${'/' + (typeof content.image?.link == 'string' ? content.image.link : content.image) + '/view'} style="width: 256px; height: auto"></img></div>
<div @click=${this.body_click}><img src=${'/' + (typeof content.image?.link == 'string' ? content.image.link : content.image) + '/view'} style="width: 256px; height: auto"></img></div>
`;
}
if (content.description !== undefined) {