summaryrefslogtreecommitdiff
path: root/internal/filter
diff options
context:
space:
mode:
authorLibravatar Vyr Cossont <VyrCossont@users.noreply.github.com>2024-09-09 15:56:58 -0700
committerLibravatar GitHub <noreply@github.com>2024-09-09 15:56:58 -0700
commit540edef0c20dad4ea13d8af091ccf69796b848b6 (patch)
treed53106b4170f571a4472e60d35f9b7e2445269d4 /internal/filter
parent[feature/frontend] Add options to include Unlisted posts or hide all posts (#... (diff)
downloadgotosocial-540edef0c20dad4ea13d8af091ccf69796b848b6.tar.xz
[feature] Implement exclusive lists (#3280)
Fixes #2616
Diffstat (limited to 'internal/filter')
-rw-r--r--internal/filter/visibility/home_timeline.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/filter/visibility/home_timeline.go b/internal/filter/visibility/home_timeline.go
index 9c224ffbb..37348e71d 100644
--- a/internal/filter/visibility/home_timeline.go
+++ b/internal/filter/visibility/home_timeline.go
@@ -31,6 +31,7 @@ import (
)
// StatusHomeTimelineable checks if given status should be included on owner's home timeline. Primarily relying on status visibility to owner and the AP visibility setting, but also taking into account thread replies etc.
+// Despite the name, statuses that ultimately end up in exclusive lists also need to be home-timelineable.
func (f *Filter) StatusHomeTimelineable(ctx context.Context, owner *gtsmodel.Account, status *gtsmodel.Status) (bool, error) {
const vtype = cache.VisibilityTypeHome