Skip to content

Commit

Permalink
fix chatlist image thumbnails (#4101)
Browse files Browse the repository at this point in the history
* fix chatlist image thumbnails

* changelog entry
  • Loading branch information
Simon-Laux committed Sep 8, 2024
1 parent 4139d0b commit c5dddeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
12 changes: 1 addition & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,7 @@
- security: harden electron_functions, only runtime can use them now
- security: harden runtime interface by deleting the reference on window (`window.r`) after the first use. For development it is now accessible at `exp.runtime` but only in `--devmode` like `exp.rpc`
- dev: update `./bin/update_background_thumbnails.sh` script
- fix newlines in messages with WebXDC attachments #4079
- being unable to delete a nonfunctional account imported from ArcaneChat #4104

<a id="1_46_7"></a>

## [1.46.7] - 2024-09-02

### Changed

- Update `@deltachat/stdio-rpc-server` and `deltachat/jsonrpc-client` to `1.142.11`
- Set backward verification when observing `vc-contact-confirm` or `vg-member-added`
- fix chatlist image thumbnails #4101

<a id="1_46_6"></a>

Expand Down
6 changes: 3 additions & 3 deletions packages/frontend/src/components/chat/ChatListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,17 @@ function Message({
{summaryPreviewImage && !iswebxdc && (
<div
className='summary_thumbnail'
style={{ backgroundImage: `url(${summaryPreviewImage})` }}
style={{ backgroundImage: `url("${summaryPreviewImage}")` }}
/>
)}
{iswebxdc && lastMessageId && (
<div
className='summary_thumbnail'
style={{
backgroundImage: `url(${runtime.getWebxdcIconURL(
backgroundImage: `url("${runtime.getWebxdcIconURL(
selectedAccountId(),
lastMessageId
)})`,
)}")`,
}}
/>
)}
Expand Down

0 comments on commit c5dddeb

Please sign in to comment.