Skip to content

Commit

Permalink
Remove preview cards from fav and boost notifications (mastodon#20335)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored Nov 10, 2022
1 parent 86232e6 commit 99734ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/mastodon/components/status.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ class Status extends ImmutablePureComponent {
</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 = (
<Card
onOpenMedia={this.handleOpenMedia}
Expand Down

0 comments on commit 99734ac

Please sign in to comment.