mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 01:57:20 +00:00
Correctly add inbox/outbox IRIs to person
This commit is contained in:
@ -51,8 +51,10 @@ func Person(ctx *context.APIContext) {
|
|||||||
}
|
}
|
||||||
person.Name = name
|
person.Name = name
|
||||||
|
|
||||||
ap.Inbox.AddTo(person)
|
person.Inbox = nil
|
||||||
ap.Outbox.AddTo(person)
|
person.Inbox, _ = ap.Inbox.AddTo(person)
|
||||||
|
person.Outbox = nil
|
||||||
|
person.Outbox, _ = ap.Outbox.AddTo(person)
|
||||||
|
|
||||||
person.PublicKey.ID = ap.IRI(link + "#main-key")
|
person.PublicKey.ID = ap.IRI(link + "#main-key")
|
||||||
person.PublicKey.Owner = ap.IRI(link)
|
person.PublicKey.Owner = ap.IRI(link)
|
||||||
|
Reference in New Issue
Block a user