gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 69bb56368d3a894619435c8b93d2f86e3f63da5f
parent 8ab9108d3a09966a6288f1cbe74cd0306086d833
Author: tobi <31960611+tsmethurst@users.noreply.github.com>
Date:   Mon, 13 Sep 2021 17:35:33 +0200

set default privacy for new accounts (#225)


Diffstat:
Minternal/db/bundb/admin.go | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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,