From 51bbca7723806d55f9013a50b3f9b007feba573a Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 29 Jan 2025 11:15:32 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20=E2=80=9Cx=E2=80=9D=20hotkey=20not=20work?= =?UTF-8?q?ing=20on=20boosted=20filtered=20posts=20(#33758)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/mastodon/components/status.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/components/status.jsx b/app/javascript/mastodon/components/status.jsx index fb1fcb87fe..f44b0f0535 100644 --- a/app/javascript/mastodon/components/status.jsx +++ b/app/javascript/mastodon/components/status.jsx @@ -333,7 +333,7 @@ class Status extends ImmutablePureComponent { const { onToggleHidden } = this.props; const status = this._properStatus(); - if (status.get('matched_filters')) { + if (this.props.status.get('matched_filters')) { const expandedBecauseOfCW = !status.get('hidden') || status.get('spoiler_text').length === 0; const expandedBecauseOfFilter = this.state.showDespiteFilter;