diff --git a/src/remote/activitypub/models/person.ts b/src/remote/activitypub/models/person.ts index f23334639..28cbdb1ff 100644 --- a/src/remote/activitypub/models/person.ts +++ b/src/remote/activitypub/models/person.ts @@ -47,16 +47,28 @@ export async function createPerson(value: any, resolver?: Resolver): Promise { const id = `${config.url}/users/${user._id}`; return { - type: 'Person', + type: user.isBot ? 'Service' : 'Person', id, inbox: `${id}/inbox`, outbox: `${id}/outbox`,