start converting account to as person

This commit is contained in:
tsmethurst 2021-04-28 14:59:51 +02:00
commit dca484e00d
9 changed files with 789 additions and 525 deletions

View file

@ -468,10 +468,11 @@ func (ps *postgresService) NewSignup(username string, reason string, requireAppr
PublicKeyURI: newAccountURIs.PublicKeyURI,
ActorType: gtsmodel.ActivityStreamsPerson,
URI: newAccountURIs.UserURI,
InboxURL: newAccountURIs.InboxURI,
OutboxURL: newAccountURIs.OutboxURI,
FollowersURL: newAccountURIs.FollowersURI,
FeaturedCollectionURL: newAccountURIs.CollectionURI,
InboxURI: newAccountURIs.InboxURI,
OutboxURI: newAccountURIs.OutboxURI,
FollowersURI: newAccountURIs.FollowersURI,
FollowingURI: newAccountURIs.FollowingURI,
FeaturedCollectionURI: newAccountURIs.CollectionURI,
}
if _, err = ps.conn.Model(a).Insert(); err != nil {
return nil, err