show timestamp and last message in conversationlistitem

pull/729/head
Audric Ackermann 6 years ago
parent 77227eaa2a
commit 26813666fc

@ -146,7 +146,7 @@ export class ConversationListItem extends React.PureComponent<Props> {
{isMe ? i18n('noteToSelf') : this.renderUser()} {isMe ? i18n('noteToSelf') : this.renderUser()}
</div> </div>
{hasReceivedFriendRequest || this.renderUnread()} {hasReceivedFriendRequest || this.renderUnread()}
{!isFriend && ( {isFriend && (
<div <div
className={classNames( className={classNames(
'module-conversation-list-item__header__date', 'module-conversation-list-item__header__date',
@ -227,14 +227,9 @@ export class ConversationListItem extends React.PureComponent<Props> {
isTyping, isTyping,
unreadCount, unreadCount,
i18n, i18n,
isFriend,
isPendingFriendRequest, isPendingFriendRequest,
} = this.props; } = this.props;
if (isFriend) {
return null;
}
if (!lastMessage && !isTyping) { if (!lastMessage && !isTyping) {
return null; return null;
} }

Loading…
Cancel
Save