Show message sent time (not received time) in search results (#3769)

This commit is contained in:
jjkaufman 2019-12-02 13:40:38 -08:00 committed by Scott Nonnenberg
parent d51547e6cd
commit ee9e86ab7a
3 changed files with 15 additions and 15 deletions

View file

@ -14,7 +14,7 @@ export type PropsDataType = {
id: string;
conversationId: string;
receivedAt: number;
sentAt: number;
snippet: string;
@ -128,7 +128,7 @@ export class MessageSearchResult extends React.PureComponent<PropsType> {
isSelected,
conversationId,
openConversationInternal,
receivedAt,
sentAt,
snippet,
to,
} = this.props;
@ -155,7 +155,7 @@ export class MessageSearchResult extends React.PureComponent<PropsType> {
<div className="module-message-search-result__header">
{this.renderFrom()}
<div className="module-message-search-result__header__timestamp">
<Timestamp timestamp={receivedAt} i18n={i18n} />
<Timestamp timestamp={sentAt} i18n={i18n} />
</div>
</div>
<div className="module-message-search-result__body">