diff options
| author | 2025-08-13 13:23:42 +0200 | |
|---|---|---|
| committer | 2025-08-13 13:23:42 +0200 | |
| commit | fb2ef90ec51c47c801d290f2f6ff2289121cbeb1 (patch) | |
| tree | 05ad2712b7c06209179af5bb9ac170203ccab0c6 /internal/api/model/filterv2.go | |
| parent | [feature] 2fa management via CLI (#4368) (diff) | |
| download | gotosocial-fb2ef90ec51c47c801d290f2f6ff2289121cbeb1.tar.xz | |
[feature] support blur filter action (#4371)
This pull request implements the `blur` value of `filter_action` for status filtering. It was introduced by Mastodon 4.4.0. [Related docs update](https://github.com/mastodon/documentation/pull/1620)
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4371
Reviewed-by: kim <gruf@noreply.codeberg.org>
Co-authored-by: nicole mikołajczyk <git@mkljczk.pl>
Co-committed-by: nicole mikołajczyk <git@mkljczk.pl>
Diffstat (limited to 'internal/api/model/filterv2.go')
| -rw-r--r-- | internal/api/model/filterv2.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/api/model/filterv2.go b/internal/api/model/filterv2.go index 26b1b22b3..98a83fc74 100644 --- a/internal/api/model/filterv2.go +++ b/internal/api/model/filterv2.go @@ -69,6 +69,8 @@ const ( FilterActionWarn FilterAction = "warn" // FilterActionHide filters will remove this status from API results. FilterActionHide FilterAction = "hide" + // FilterActionBlur filters will include this status in API results indicating the media attachments should be hidden/blurred. + FilterActionBlur FilterAction = "blur" ) // FilterKeyword represents text to filter within a v2 filter. |
