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

This commit is contained in:
Ariadne Conill 2022-12-26 03:59:38 +00:00
parent 75f837b3a3
commit c0d30ba101

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');
}