Changes the actor type from Person to Service to allow bot detection

This commit is contained in:
Samuel FORESTIER 2019-05-18 14:00:04 +02:00
parent 54f61e6dc2
commit 55478651f6

View file

@ -92,9 +92,8 @@ function createActor(name, domain, pubkey, displayName, imageUrl, description) {
'https://www.w3.org/ns/activitystreams',
'https://w3id.org/security/v1'
],
'id': `https://${domain}/u/${name}`,
'type': 'Person',
'type': 'Service',
'preferredUsername': `${name}`,
'inbox': `https://${domain}/api/inbox`,
'followers': `https://${domain}/u/${name}/followers`,