Skip to content

Commit 8295362

Browse files
committed
Update mappers.ts
1 parent 89484f0 commit 8295362

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mappers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ export function mapMessage(msgRow: MappedMessageRow, attachmentRows: MappedAttac
619619
type: reactionType,
620620
messageID: m.linkedMessageID,
621621
participantID: m.senderID,
622-
imgURL: assocMsgType === 'reacted_sticker' ? attachmentRows[0]?.filename : undefined,
622+
imgURL: assocMsgType === 'reacted_sticker' ? reactionStickerAssetURL(accountID, msgRow.ROWID) : undefined,
623623
reactionKey: actionKey === 'emoji' ? msgRow.associated_message_emoji : actionKey,
624624
}
625625
if (actionKey === 'emoji' || actionKey === 'sticker' || actionKey in supportedReactions) {

0 commit comments

Comments
 (0)