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

This commit is contained in:
Claire 2022-06-30 09:51:55 +02:00 committed by GitHub
parent 2a19122fcc
commit 106b27830b
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

@ -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);
});
},
);