From cc6a16e62c4334eff7ba0647e2f7473c78ce7887 Mon Sep 17 00:00:00 2001 From: Plastikmensch Date: Wed, 18 Jun 2025 02:04:20 +0200 Subject: [PATCH] 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 --- .../glitch/features/ui/containers/status_list_container.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/ui/containers/status_list_container.js b/app/javascript/flavours/glitch/features/ui/containers/status_list_container.js index ac86017d06..ac21b6773b 100644 --- a/app/javascript/flavours/glitch/features/ui/containers/status_list_container.js +++ b/app/javascript/flavours/glitch/features/ui/containers/status_list_container.js @@ -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; }