about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-11-10 19:36:12 +0100
committerGitHub <noreply@github.com>2022-11-10 19:36:12 +0100
commit99734ac9367eb8af705aecca423c998aadddbd59 (patch)
treec2255ef536c3f97938cc5e9cc136a0455452cf95 /app
parent86232e68a81303eb47919c2b0663c54f3b0f8237 (diff)
Remove preview cards from fav and boost notifications (#20335)
Fixes #20329
Diffstat (limited to 'app')
-rw-r--r--app/javascript/mastodon/components/status.js2
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}