ActivityPub visibility on send

This commit is contained in:
mei23
2018-08-13 03:49:17 +09:00
parent ab701bb93e
commit f079041827
3 changed files with 60 additions and 4 deletions

View File

@@ -19,6 +19,8 @@ export default async (user: ILocalUser) => {
id,
inbox: `${id}/inbox`,
outbox: `${id}/outbox`,
followers: `${id}/followers`,
following: `${id}/following`,
sharedInbox: `${config.url}/inbox`,
url: `${config.url}/@${user.username}`,
preferredUsername: user.username,