mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-12 06:27:29 -06:00
parse various types of actor
This commit is contained in:
parent
8104a03bd5
commit
064f961008
11 changed files with 264 additions and 110 deletions
|
|
@ -130,7 +130,7 @@ func (f *federator) AuthenticatePostInbox(ctx context.Context, w http.ResponseWr
|
|||
return ctx, false, fmt.Errorf("error dereferencing account with public key id %s: %s", publicKeyOwnerURI.String(), err)
|
||||
}
|
||||
|
||||
a, err := f.typeConverter.ASPersonToAccount(person)
|
||||
a, err := f.typeConverter.ASRepresentationToAccount(person)
|
||||
if err != nil {
|
||||
return ctx, false, fmt.Errorf("error converting person with public key id %s to account: %s", publicKeyOwnerURI.String(), err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue