From 636a82b8c5854e64c6cfa9345a783c004089b806 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sun, 13 Jun 2021 21:42:25 +0300 Subject: [PATCH] fix chats messages --- src/components/chat_message/chat_message.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/chat_message/chat_message.js b/src/components/chat_message/chat_message.js index 9a2d1e7d..eb195bc1 100644 --- a/src/components/chat_message/chat_message.js +++ b/src/components/chat_message/chat_message.js @@ -58,8 +58,8 @@ const ChatMessage = { return { summary: '', emojis: this.message.emojis, - raw_html: this.message.content, - text: this.message.content, + raw_html: this.message.content || '', + text: this.message.content || '', attachments: this.message.attachments } },