diff --git a/src/data/Thread.js b/src/data/Thread.js index 09c75dc..4d60593 100644 --- a/src/data/Thread.js +++ b/src/data/Thread.js @@ -346,6 +346,16 @@ class Thread { messageContent = messageContent.trim(); } + if (msg.stickers && msg.stickers.length) { + const stickerLines = msg.stickers.map(sticker => { + return `**`; + }); + + messageContent += "\n\n" + stickerLines.join("\n"); + } + + messageContent = messageContent.trim(); + // Save DB entry let threadMessage = new ThreadMessage({ message_type: THREAD_MESSAGE_TYPE.FROM_USER,