about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/status.js
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-06-30 09:51:55 +0200
committerGitHub <noreply@github.com>2022-06-30 09:51:55 +0200
commit3c24f19afedc2169a7a343c5af4a8f892d863f0b (patch)
tree8e2360a710c682eb29614eba7dbb300717ed01a1 /app/javascript/mastodon/components/status.js
parentfb552dde2c733c372c0b235397e4106f2e4480bb (diff)
Fix reblogged statuses being erroneously shown as filtered (#18744)
Diffstat (limited to 'app/javascript/mastodon/components/status.js')
-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 4ca392824..238a0d734 100644
--- a/app/javascript/mastodon/components/status.js
+++ b/app/javascript/mastodon/components/status.js
@@ -338,7 +338,7 @@ class Status extends ImmutablePureComponent {
       );
     }
 
-    const matchedFilters = status.get('filtered') || status.getIn(['reblog', 'filtered']);
+    const matchedFilters = status.get('matched_filters');
     if (this.state.forceFilter === undefined ? matchedFilters : this.state.forceFilter) {
       const minHandlers = this.props.muted ? {} : {
         moveUp: this.handleHotkeyMoveUp,