First-class profile name rendering

This commit is contained in:
Scott Nonnenberg 2020-07-23 18:35:32 -07:00
parent 632cd0e87e
commit d07b8e82b2
63 changed files with 1044 additions and 454 deletions

View file

@ -12,7 +12,8 @@ import { ContactName } from './ContactName';
interface Props {
attachment?: QuotedAttachmentType;
authorPhoneNumber: string;
authorTitle: string;
authorPhoneNumber?: string;
authorProfileName?: string;
authorName?: string;
authorColor?: ColorType;
@ -307,6 +308,7 @@ export class Quote extends React.Component<Props, State> {
const {
authorProfileName,
authorPhoneNumber,
authorTitle,
authorName,
i18n,
isFromMe,
@ -327,6 +329,8 @@ export class Quote extends React.Component<Props, State> {
phoneNumber={authorPhoneNumber}
name={authorName}
profileName={authorProfileName}
title={authorTitle}
i18n={i18n}
/>
)}
</div>