diff options
| author | Henry Jameson <me@hjkos.com> | 2021-06-12 19:54:03 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-06-12 19:54:34 +0300 |
| commit | 90a188f2c3c16b926c75bf4aa749633e6967e5a0 (patch) | |
| tree | 5683f45402f6f48570e214a1df8c9e9c6bfe1d68 /src/components/chat_list_item | |
| parent | cd4455675024a3dfc8930184114d5f92438d0466 (diff) | |
cleanup
Diffstat (limited to 'src/components/chat_list_item')
| -rw-r--r-- | src/components/chat_list_item/chat_list_item.js | 3 |
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: [] |
