th: javascript: glitch: dont render cards if the status has a quote attached

lolsob-rspec
Ariadne Conill 2022-12-25 10:58:25 +00:00
parent 41a83c748e
commit c784057de1
1 changed files with 1 additions and 1 deletions

View File

@ -687,7 +687,7 @@ class Status extends ImmutablePureComponent {
if (!status.get('sensitive') && !(status.get('spoiler_text').length > 0) && settings.getIn(['collapsed', 'backgrounds', 'preview_images'])) {
background = attachments.getIn([0, 'preview_url']);
}
} else if (status.get('card') && settings.get('inline_preview_cards') && !this.props.muted) {
} else if (!status.get('quote') && status.get('card') && settings.get('inline_preview_cards') && !this.props.muted) {
media.push(
<Card
onOpenMedia={this.handleOpenMedia}