summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/activitypub/person.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/activitypub/person.go')
-rw-r--r--routers/api/v1/activitypub/person.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/activitypub/person.go b/routers/api/v1/activitypub/person.go
index 8085580985..492930b849 100644
--- a/routers/api/v1/activitypub/person.go
+++ b/routers/api/v1/activitypub/person.go
@@ -55,7 +55,7 @@ func Person(ctx *context.APIContext) {
person.Icon = ap.Image{
Type: ap.ImageType,
MediaType: "image/png",
- URL: ap.IRI(ctx.ContextUser.AvatarLink()),
+ URL: ap.IRI(ctx.ContextUser.AvatarLink(ctx)),
}
person.Inbox = ap.IRI(link + "/inbox")