From a1e6bb6fa3333ee3a01c2dced90f893b9fbefd3f Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 8 Apr 2018 18:21:02 +0900 Subject: [PATCH] Provide url property --- src/remote/activitypub/renderer/person.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/remote/activitypub/renderer/person.ts b/src/remote/activitypub/renderer/person.ts index 82e261029..f1c8056a7 100644 --- a/src/remote/activitypub/renderer/person.ts +++ b/src/remote/activitypub/renderer/person.ts @@ -10,6 +10,7 @@ export default user => { id, inbox: `${id}/inbox`, outbox: `${id}/outbox`, + url: `${config.url}/@${user.username}`, preferredUsername: user.username, name: user.name, summary: user.description,