Fix quote styles so they are uniform

This commit is contained in:
Josh Perez 2021-10-04 20:12:07 -04:00 committed by GitHub
parent 8a765da6a3
commit 48aaf9e4f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 43 deletions

View file

@ -1061,7 +1061,6 @@ export class Message extends React.PureComponent<Props, State> {
public renderQuote(): JSX.Element | null {
const {
conversationColor,
conversationType,
customColor,
direction,
disableScroll,
@ -1076,8 +1075,6 @@ export class Message extends React.PureComponent<Props, State> {
return null;
}
const withContentAbove =
conversationType === 'group' && direction === 'incoming';
const { isViewOnce, referencedMessageNotFound } = quote;
const clickHandler = disableScroll
@ -1103,7 +1100,6 @@ export class Message extends React.PureComponent<Props, State> {
isViewOnce={isViewOnce}
referencedMessageNotFound={referencedMessageNotFound}
isFromMe={quote.isFromMe}
withContentAbove={withContentAbove}
doubleCheckMissingQuoteReference={() =>
doubleCheckMissingQuoteReference(id)
}