th: components: detailed status: suppress cards on quote posts

lolsob-rspec
Ariadne Conill 2022-12-26 03:59:38 +00:00
parent 75f837b3a3
commit c0d30ba101
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ class DetailedStatus extends ImmutablePureComponent {
);
mediaIcons.push('picture-o');
}
} else if (status.get('card')) {
} else if (!status.get('quote') && status.get('card')) {
media.push(<Card sensitive={status.get('sensitive')} onOpenMedia={this.props.onOpenMedia} card={status.get('card')} />);
mediaIcons.push('link');
}