Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Prettified Code!

gabeke44dc8f04af3
diff --git a/webroot/js/components/chat/chat-message-view.js b/webroot/js/components/chat/chat-message-view.js
index 17459e7ef6..6d45468595 100644
--- a/webroot/js/components/chat/chat-message-view.js
+++ b/webroot/js/components/chat/chat-message-view.js
@@ -48,9 +48,9 @@ export default class ChatMessageView extends Component {
return null;
}
const formattedTimestamp = `Sent at ${formatTimestamp(timestamp)}`;
- const userMetadata = createdAt ? `${displayName} first joined ${formatTimestamp(
- createdAt
- )}` : null;
+ const userMetadata = createdAt
+ ? `${displayName} first joined ${formatTimestamp(createdAt)}`
+ : null;
const isSystemMessage = message.type === SOCKET_MESSAGE_TYPES.SYSTEM;