And create activities work-ish
All checks were successful
/ docker (push) Successful in 4m18s

This commit is contained in:
Melody Becker 2025-05-16 21:31:17 +02:00
parent 8ec486cfc1
commit 440399f8d2
8 changed files with 171 additions and 9 deletions

View file

@ -71,6 +71,13 @@ func users(w http.ResponseWriter, r *http.Request) {
}
return
}
// FIXME: Remove this later
// (or rather move to dedicated module in storage for old migration stuff),
// temporary fix for old data. User creation locations are fixed already
err = storage.EnsureLocalUserIdHasLinks(userId)
if err != nil {
log.Warn().Err(err).Msg("Failed to create links for local user")
}
apUrl := activitypub.UserIdToApUrl(user.ID)
var keyBytes string