Add func to add ap links to local users (untested)
All checks were successful
/ docker (push) Successful in 4m27s

This commit is contained in:
Melody Becker 2025-05-15 11:13:58 +02:00
parent e69f53bbd7
commit f991a1f353
7 changed files with 84 additions and 22 deletions

View file

@ -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)