diff --git a/webroot/js/components/chat/message.js b/webroot/js/components/chat/message.js index e208a72dd..3fa246bcf 100644 --- a/webroot/js/components/chat/message.js +++ b/webroot/js/components/chat/message.js @@ -13,7 +13,7 @@ export default class Message extends Component { const { type } = message; if (type === SOCKET_MESSAGE_TYPES.CHAT) { - const { image, author, body } = message; + const { image, author, body, timestamp } = message; const formattedMessage = formatMessageText(body, username); const avatar = image || generateAvatar(author); @@ -35,6 +35,7 @@ export default class Message extends Component {