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

Fixes #20329
fix/password-length
Claire 2022-11-10 19:36:12 +01:00 committed by GitHub
parent 86232e68a8
commit 99734ac936
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}