Skip to content

Commit f8ad1a8

Browse files
6543KN4CK3R
andauthored
Apply suggestions from code review
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
1 parent f53e46c commit f8ad1a8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

routers/api/v1/activitypub/person.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ func Person(ctx *context.APIContext) {
5959
URL: ap.IRI(ctx.ContextUser.AvatarLink()),
6060
}
6161

62-
person.Inbox = nil
6362
person.Inbox, _ = ap.Inbox.AddTo(person)
64-
person.Outbox = nil
6563
person.Outbox, _ = ap.Outbox.AddTo(person)
6664

6765
person.PublicKey.ID = ap.IRI(link + "#main-key")

0 commit comments

Comments
 (0)