1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 03:46:19 +02:00
This commit is contained in:
syuilo
2018-06-23 19:16:50 +09:00
parent 5ff59b3339
commit 509cdae832
2 changed files with 23 additions and 11 deletions

View File

@@ -7,7 +7,7 @@ export default (user: ILocalUser) => {
const id = `${config.url}/users/${user._id}`;
return {
type: 'Person',
type: user.isBot ? 'Service' : 'Person',
id,
inbox: `${id}/inbox`,
outbox: `${id}/outbox`,