diff options
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/api/client/filters/v2/filterpost.go | 1 | ||||
| -rw-r--r-- | internal/api/client/filters/v2/filterput.go | 1 | ||||
| -rw-r--r-- | internal/api/model/filterv2.go | 1 | ||||
| -rw-r--r-- | internal/gtsmodel/filter.go | 2 |
4 files changed, 4 insertions, 1 deletions
diff --git a/internal/api/client/filters/v2/filterpost.go b/internal/api/client/filters/v2/filterpost.go index 7cb11da92..12e7f5500 100644 --- a/internal/api/client/filters/v2/filterpost.go +++ b/internal/api/client/filters/v2/filterpost.go @@ -96,6 +96,7 @@ import ( // enum: // - warn // - hide +// - blur // default: warn // - // name: keywords_attributes[][keyword] diff --git a/internal/api/client/filters/v2/filterput.go b/internal/api/client/filters/v2/filterput.go index 4538fa3bf..9f9591ec4 100644 --- a/internal/api/client/filters/v2/filterput.go +++ b/internal/api/client/filters/v2/filterput.go @@ -129,6 +129,7 @@ import ( // enum: // - warn // - hide +// - blur // // security: // - OAuth2 Bearer: diff --git a/internal/api/model/filterv2.go b/internal/api/model/filterv2.go index 98a83fc74..5317ec88a 100644 --- a/internal/api/model/filterv2.go +++ b/internal/api/model/filterv2.go @@ -52,6 +52,7 @@ type FilterV2 struct { // Enum: // - warn // - hide + // - blur FilterAction FilterAction `json:"filter_action"` // The keywords grouped under this filter. Keywords []FilterKeyword `json:"keywords"` diff --git a/internal/gtsmodel/filter.go b/internal/gtsmodel/filter.go index 522456b39..8f1a45004 100644 --- a/internal/gtsmodel/filter.go +++ b/internal/gtsmodel/filter.go @@ -206,7 +206,7 @@ const ( // be removed from timeline results entirely. FilterActionHide FilterAction = 2 - // FilterActionWarn means that the status should + // FilterActionBlur means that the status should // be shown with its media attachments hidden/blurred. FilterActionBlur FilterAction = 3 ) |
