Merge pull request #3105 from Plastikmensch/fix-inverted-regex-filter

Fix inverted regex filter condition
This commit is contained in:
Claire authored and GitHub committed 2025-06-18 08:52:41 +02:00
commit 33402722f3
1 file changed
+1 -1
@@ -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');
if (regex && !regex.test(searchIndex)) {
if (regex && regex.test(searchIndex)) {
return false;
}