From f8ad1a832f54ff12a2120fb2449cb2e85b3be4b2 Mon Sep 17 00:00:00 2001
From: 6543 <6543@obermui.de>
Date: Wed, 15 Jun 2022 03:19:34 +0200
Subject: [PATCH] Apply suggestions from code review

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
---
 routers/api/v1/activitypub/person.go | 2 --
 1 file changed, 2 deletions(-)

diff --git a/routers/api/v1/activitypub/person.go b/routers/api/v1/activitypub/person.go
index f5c24ce917..dca22c1a38 100644
--- a/routers/api/v1/activitypub/person.go
+++ b/routers/api/v1/activitypub/person.go
@@ -59,9 +59,7 @@ func Person(ctx *context.APIContext) {
 		URL:       ap.IRI(ctx.ContextUser.AvatarLink()),
 	}
 
-	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")