summaryrefslogtreecommitdiff
path: root/internal/filter
diff options
context:
space:
mode:
Diffstat (limited to 'internal/filter')
-rw-r--r--internal/filter/status/status.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/internal/filter/status/status.go b/internal/filter/status/status.go
index 7cf0a7a1e..1a611cdd1 100644
--- a/internal/filter/status/status.go
+++ b/internal/filter/status/status.go
@@ -24,22 +24,3 @@ import (
// ErrHideStatus indicates that a status has been filtered and should not be returned at all.
var ErrHideStatus = errors.New("hide status")
-
-// FilterContext determines the filters that apply to a given status or list of statuses.
-type FilterContext string
-
-const (
- // FilterContextNone means no filters should be applied.
- // There are no filters with this context; it's for internal use only.
- FilterContextNone FilterContext = ""
- // FilterContextHome means this status is being filtered as part of a home or list timeline.
- FilterContextHome FilterContext = "home"
- // FilterContextNotifications means this status is being filtered as part of the notifications timeline.
- FilterContextNotifications FilterContext = "notifications"
- // FilterContextPublic means this status is being filtered as part of a public or tag timeline.
- FilterContextPublic FilterContext = "public"
- // FilterContextThread means this status is being filtered as part of a thread's context.
- FilterContextThread FilterContext = "thread"
- // FilterContextAccount means this status is being filtered as part of an account's statuses.
- FilterContextAccount FilterContext = "account"
-)