Add func to add ap links to local users (untested)
All checks were successful
/ docker (push) Successful in 4m27s
All checks were successful
/ docker (push) Successful in 4m27s
This commit is contained in:
parent
e69f53bbd7
commit
f991a1f353
7 changed files with 84 additions and 22 deletions
|
@ -33,6 +33,9 @@ func InsertSelf() error {
|
|||
if err != nil {
|
||||
return other.Error("storage", "failed to save/update self user", err)
|
||||
}
|
||||
if err = EnsureLocalUserIdHasLinks(user.ID); err != nil {
|
||||
return other.Error("storage", "failed to create ap links for self", err)
|
||||
}
|
||||
ServerActorId = user.ID
|
||||
if err = insertUserPronoun(user); err != nil {
|
||||
return other.Error("storage", "failed to save/update self user pronoun", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue