diff options
author | 2024-09-09 15:56:58 -0700 | |
---|---|---|
committer | 2024-09-09 15:56:58 -0700 | |
commit | 540edef0c20dad4ea13d8af091ccf69796b848b6 (patch) | |
tree | d53106b4170f571a4472e60d35f9b7e2445269d4 /internal/gtsmodel/list.go | |
parent | [feature/frontend] Add options to include Unlisted posts or hide all posts (#... (diff) | |
download | gotosocial-540edef0c20dad4ea13d8af091ccf69796b848b6.tar.xz |
[feature] Implement exclusive lists (#3280)
Fixes #2616
Diffstat (limited to 'internal/gtsmodel/list.go')
-rw-r--r-- | internal/gtsmodel/list.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/gtsmodel/list.go b/internal/gtsmodel/list.go index ea53df9b3..f99531ce8 100644 --- a/internal/gtsmodel/list.go +++ b/internal/gtsmodel/list.go @@ -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. |