Fix inverted regex filter condition

The inverted condition caused only own toots and toots matching the regex to be shown instead of matches being filtered.

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
This commit is contained in:
Plastikmensch
2025-06-18 02:04:20 +02:00
parent f4c850dff6
commit cc6a16e62c

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