[bugfix] Set 'discoverable' properly on API accounts (#1511)

This commit is contained in:
tobi
2023-02-16 14:20:23 +01:00
committed by GitHub
parent 6ee0dc8c7d
commit b5993095fa
10 changed files with 87 additions and 1 deletions

View File

@@ -204,6 +204,7 @@ func (c *converter) AccountToAPIAccountPublic(ctx context.Context, a *gtsmodel.A
Acct: acct,
DisplayName: a.DisplayName,
Locked: *a.Locked,
Discoverable: *a.Discoverable,
Bot: *a.Bot,
CreatedAt: util.FormatISO8601(a.CreatedAt),
Note: a.Note,