Remove preview cards from fav and boost notifications (#20335)

Fixes #20329
This commit is contained in:
Claire 2022-11-10 19:36:12 +01:00 committed by GitHub
parent f0fa19d118
commit 0161fa9745

View file

@ -476,7 +476,7 @@ class Status extends ImmutablePureComponent {
</Bundle> </Bundle>
); );
} }
} else if (status.get('spoiler_text').length === 0 && status.get('card')) { } else if (status.get('spoiler_text').length === 0 && status.get('card') && !this.props.muted) {
media = ( media = (
<Card <Card
onOpenMedia={this.handleOpenMedia} onOpenMedia={this.handleOpenMedia}