From 335851b577e9d5065a1cfb8cce04a273e5cb545a Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 31 May 2022 13:21:07 -0500 Subject: [PATCH] QuotedStatus: always display full media gallery --- .../status/components/quoted_status.tsx | 22 +------------------ 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/app/soapbox/features/status/components/quoted_status.tsx b/app/soapbox/features/status/components/quoted_status.tsx index a9f08685d..1b8f25c02 100644 --- a/app/soapbox/features/status/components/quoted_status.tsx +++ b/app/soapbox/features/status/components/quoted_status.tsx @@ -5,7 +5,6 @@ import ImmutablePureComponent from 'react-immutable-pure-component'; import { defineMessages, injectIntl, FormattedMessage, IntlShape, FormattedList } from 'react-intl'; import { withRouter } from 'react-router-dom'; -import AttachmentThumbs from 'soapbox/components/attachment-thumbs'; import StatusMedia from 'soapbox/components/status-media'; import { Stack, Text } from 'soapbox/components/ui'; import AccountContainer from 'soapbox/containers/account_container'; @@ -51,25 +50,6 @@ class QuotedStatus extends ImmutablePureComponent { } } - renderMedia = () => { - const { status } = this.props; - if (!status) return null; - const { size } = status.media_attachments; - - if (size > 1) { - return ( - - ); - } - - return ( - - ); - } - renderReplyMentions = () => { const { status } = this.props; @@ -167,7 +147,7 @@ class QuotedStatus extends ImmutablePureComponent { dangerouslySetInnerHTML={{ __html: status.contentHtml }} /> - {this.renderMedia()} + );