Merge pull request #3105 from Plastikmensch/fix-inverted-regex-filter
Fix inverted regex filter condition
This commit is contained in:
commit
33402722f3
@ -51,7 +51,7 @@ const makeGetStatusIds = (pending = false) => createSelector([
|
|||||||
}
|
}
|
||||||
|
|
||||||
const searchIndex = statusForId.get('reblog') ? statuses.getIn([statusForId.get('reblog'), 'search_index']) : statusForId.get('search_index');
|
const searchIndex = statusForId.get('reblog') ? statuses.getIn([statusForId.get('reblog'), 'search_index']) : statusForId.get('search_index');
|
||||||
if (regex && !regex.test(searchIndex)) {
|
if (regex && regex.test(searchIndex)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user