summaryrefslogtreecommitdiff
path: root/internal/typeutils
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/typeutils
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/typeutils')
-rw-r--r--internal/typeutils/internaltofrontend.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/typeutils/internaltofrontend.go b/internal/typeutils/internaltofrontend.go
index 5cbed62e0..395603949 100644
--- a/internal/typeutils/internaltofrontend.go
+++ b/internal/typeutils/internaltofrontend.go
@@ -2032,6 +2032,7 @@ func (c *Converter) ListToAPIList(ctx context.Context, l *gtsmodel.List) (*apimo
ID: l.ID,
Title: l.Title,
RepliesPolicy: string(l.RepliesPolicy),
+ Exclusive: *l.Exclusive,
}, nil
}