mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 02:22:26 -05:00
parent
5543fd5340
commit
540edef0c2
15 changed files with 597 additions and 54 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue