From 69bb56368d3a894619435c8b93d2f86e3f63da5f Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 13 Sep 2021 17:35:33 +0200 Subject: [PATCH] set default privacy for new accounts (#225) --- internal/db/bundb/admin.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/db/bundb/admin.go b/internal/db/bundb/admin.go index dd973ef2..a2028f8f 100644 --- a/internal/db/bundb/admin.go +++ b/internal/db/bundb/admin.go @@ -110,6 +110,7 @@ func (a *adminDB) NewSignup(ctx context.Context, username string, reason string, Username: username, DisplayName: username, Reason: reason, + Privacy: gtsmodel.VisibilityDefault, URL: newAccountURIs.UserURL, PrivateKey: key, PublicKey: &key.PublicKey,