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

Fix inverted regex filter condition
This commit is contained in:
Claire 2025-06-18 08:52:41 +02:00 committed by GitHub
commit 33402722f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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