From 55478651f6e4b826e41486664eed94b0fe0d74c8 Mon Sep 17 00:00:00 2001 From: Samuel FORESTIER Date: Sat, 18 May 2019 14:00:04 +0200 Subject: [PATCH] =?UTF-8?q?Changes=20the=20actor=20type=20from=20`Person`?= =?UTF-8?q?=C2=A0to=20`Service`=20to=20allow=20bot=20detection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/api.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/routes/api.js b/routes/api.js index fea1b2a..1bc590f 100644 --- a/routes/api.js +++ b/routes/api.js @@ -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`,