From 70214c45ced4a951584d0b90202dd991f6fc8bee 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,