This commit is contained in:
parent
8ec486cfc1
commit
440399f8d2
8 changed files with 171 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue