diff --git a/routers/api/v1/activitypub/person.go b/routers/api/v1/activitypub/person.go index ced0955236d8..1358e01020df 100644 --- a/routers/api/v1/activitypub/person.go +++ b/routers/api/v1/activitypub/person.go @@ -51,8 +51,10 @@ func Person(ctx *context.APIContext) { } person.Name = name - ap.Inbox.AddTo(person) - ap.Outbox.AddTo(person) + person.Inbox = nil + 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.Owner = ap.IRI(link)