diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-11-10 19:36:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 19:36:12 +0100 |
commit | 99734ac9367eb8af705aecca423c998aadddbd59 (patch) | |
tree | c2255ef536c3f97938cc5e9cc136a0455452cf95 | |
parent | 86232e68a81303eb47919c2b0663c54f3b0f8237 (diff) |
Remove preview cards from fav and boost notifications (#20335)
Fixes #20329
-rw-r--r-- | app/javascript/mastodon/components/status.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/status.js b/app/javascript/mastodon/components/status.js index 3106a3ecd..d1235550f 100644 --- a/app/javascript/mastodon/components/status.js +++ b/app/javascript/mastodon/components/status.js @@ -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} |