mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 16:42:25 -05:00
start converting account to as person
This commit is contained in:
parent
ab49ebe4af
commit
dca484e00d
9 changed files with 789 additions and 525 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue