message timestamp is always shown on the bottom right now

This commit is contained in:
or-else
2021-04-28 16:32:36 -07:00
parent f6acbaab21
commit 271fbc4b02
7 changed files with 23 additions and 21 deletions
+7 -2
View File
@@ -129,8 +129,13 @@ export default class ChatMessage extends React.Component {
<div>
<div className={bubbleClass}>
<div className="message-content">
{content}
{attachments}
<div>
{content}
{attachments}
{this.props.timestamp ?
<span className="timestamp-padding"></span>
: null}
</div>
{this.props.timestamp ?
<ReceivedMarker
timestamp={this.props.timestamp}