diff --git a/app/javascript/mastodon/components/status.jsx b/app/javascript/mastodon/components/status.jsx index 7c049353a25b6f..4cb76f208f2c89 100644 --- a/app/javascript/mastodon/components/status.jsx +++ b/app/javascript/mastodon/components/status.jsx @@ -130,6 +130,7 @@ class Status extends ImmutablePureComponent { available: PropTypes.bool, }), withoutEmojiReactions: PropTypes.bool, + withoutQuote: PropTypes.bool, ...WithOptionalRouterPropTypes, }; @@ -362,7 +363,7 @@ class Status extends ImmutablePureComponent { }; render () { - const { intl, hidden, featured, unread, muted, showThread, scrollKey, pictureInPicture, previousId, nextInReplyToId, rootId } = this.props; + const { intl, hidden, featured, unread, muted, showThread, scrollKey, pictureInPicture, previousId, nextInReplyToId, rootId, withoutQuote } = this.props; let { status, account, ...other } = this.props; @@ -619,7 +620,7 @@ class Status extends ImmutablePureComponent { const withReference = (!withQuote && status.get('status_references_count') > 0) ? : null; const withExpiration = status.get('expires_at') ? : null; - const quote = !muted && status.get('quote_id') && (['public', 'community'].includes(contextType) ? isShowItem('quote_in_public') : isShowItem('quote_in_home')) && ; + const quote = !muted && !withoutQuote && status.get('quote_id') && (['public', 'community'].includes(contextType) ? isShowItem('quote_in_public') : isShowItem('quote_in_home')) && ; return ( diff --git a/app/javascript/mastodon/features/status_references/index.jsx b/app/javascript/mastodon/features/status_references/index.jsx index c36d6fadc422e3..e2cc86f4267b26 100644 --- a/app/javascript/mastodon/features/status_references/index.jsx +++ b/app/javascript/mastodon/features/status_references/index.jsx @@ -81,7 +81,7 @@ class StatusReferences extends ImmutablePureComponent { bindToDocument={!multiColumn} > {accountIds.map(id => - , + , )}