From 23586be6b04ef6290f6b11247c90296e62d74d10 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Fri, 18 May 2018 17:03:24 -0700 Subject: [PATCH] Add emojification to contact names shown in quotes --- ts/components/conversation/Quote.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ts/components/conversation/Quote.tsx b/ts/components/conversation/Quote.tsx index e9d161d6d..b20ae7c31 100644 --- a/ts/components/conversation/Quote.tsx +++ b/ts/components/conversation/Quote.tsx @@ -4,6 +4,7 @@ import classnames from 'classnames'; import * as MIME from '../../../ts/types/MIME'; import * as GoogleChrome from '../../../ts/util/GoogleChrome'; +import { Emojify } from './Emojify'; import { MessageBody } from './MessageBody'; interface Props { @@ -195,7 +196,9 @@ export class Quote extends React.Component { } = this.props; const authorProfileElement = authorProfileName ? ( - ~{authorProfileName} + + ~ + ) : null; return ( @@ -204,7 +207,7 @@ export class Quote extends React.Component { i18n('you') ) : ( - {authorTitle} {authorProfileElement} + {authorProfileElement} )}