diff --git a/CHANGELOG.md b/CHANGELOG.md index 087545bfbc..3f7030c096 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -55,6 +55,7 @@ - fix composite emoji in text avatar #4038 - fix "Password and Account" dialog not indicating invalid credentials, making it seem that you can change password like this #4032 - fix empty context menu and unneccessary separators in HTML mail view #4053 +- fix Icon preview of latest WebXDC displayed when summary is reaction event #4062 diff --git a/src/renderer/components/chat/ChatListItem.tsx b/src/renderer/components/chat/ChatListItem.tsx index c7865344ef..cbb703dc66 100644 --- a/src/renderer/components/chat/ChatListItem.tsx +++ b/src/renderer/components/chat/ChatListItem.tsx @@ -66,7 +66,6 @@ function Message({ isArchived, isContactRequest, summaryPreviewImage, - lastMessageType, lastMessageId, }: Pick< ChatListItemType, @@ -77,7 +76,6 @@ function Message({ | 'isArchived' | 'isContactRequest' | 'summaryPreviewImage' - | 'lastMessageType' | `lastMessageId` >) { const wasReceived = @@ -87,7 +85,7 @@ function Message({ const status = wasReceived ? '' : mapCoreMsgStatus2String(summaryStatus) - const iswebxdc = lastMessageType === 'Webxdc' + const iswebxdc = summaryPreviewImage === 'webxdc-icon://last-msg-id' return (