mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-18 00:54:49 +01:00
Remove preview cards from fav and boost notifications (#20335)
Fixes #20329
This commit is contained in:
parent
86232e68a8
commit
99734ac936
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user