diff --git a/src/widgets/chat-message.jsx b/src/widgets/chat-message.jsx index bc85709f..51904a32 100644 --- a/src/widgets/chat-message.jsx +++ b/src/widgets/chat-message.jsx @@ -146,6 +146,11 @@ class BaseChatMessage extends React.PureComponent { + } else if (this.props.mimeType == "application/tinode-video-call") { + // Video calls. + const direction = this.props.response ? "call_received" : "call_made"; + const text = this.props.response ? "Incoming Call" : "Outgoing Call"; + content = <>{direction}{text} } else if (typeof content != 'string') { content = <>warning_amber