aboutsummaryrefslogtreecommitdiff
path: root/src/components/chat_list_item
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/chat_list_item')
-rw-r--r--src/components/chat_list_item/chat_list_item.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/chat_list_item/chat_list_item.js b/src/components/chat_list_item/chat_list_item.js
index e01b9bd4..e5032176 100644
--- a/src/components/chat_list_item/chat_list_item.js
+++ b/src/components/chat_list_item/chat_list_item.js
@@ -40,12 +40,11 @@ const ChatListItem = {
const message = this.chat.lastMessage
const messageEmojis = message ? message.emojis : []
const isYou = message && message.account_id === this.currentUser.id
- const content = message ? (this.attachmentInfo || message.content_raw) : ''
+ const content = message ? (this.attachmentInfo || message.content) : ''
const messagePreview = isYou ? `<i>${this.$t('chats.you')}</i> ${content}` : content
return {
summary: '',
emojis: messageEmojis,
- statusnet_html: messagePreview,
raw_html: messagePreview,
text: messagePreview,
attachments: []