[feature] Implement exclusive lists (#3280)

Fixes #2616
This commit is contained in:
Vyr Cossont 2024-09-09 15:56:58 -07:00 committed by GitHub
commit 540edef0c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 597 additions and 54 deletions

View file

@ -29,6 +29,7 @@ type List struct {
Account *Account `bun:"-"` // Account corresponding to accountID
ListEntries []*ListEntry `bun:"-"` // Entries contained by this list.
RepliesPolicy RepliesPolicy `bun:",nullzero,notnull,default:'followed'"` // RepliesPolicy for this list.
Exclusive *bool `bun:",nullzero,notnull,default:false"` // Hide posts from members of this list from your home timeline.
}
// ListEntry refers to a single follow entry in a list.