Fix reblogged statuses being erroneously shown as filtered (#18744)

local
Claire 2 years ago committed by GitHub
parent fb552dde2c
commit 3c24f19afe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/javascript/mastodon/components/status.js
  2. 2
      app/javascript/mastodon/selectors/index.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,

@ -106,7 +106,7 @@ export const makeGetStatus = () => {
return statusBase.withMutations(map => {
map.set('reblog', statusReblog);
map.set('account', accountBase);
map.set('filtered', filtered);
map.set('matched_filters', filtered);
});
},
);

Loading…
Cancel
Save