mirror of
https://github.com/dariusk/rss-to-activitypub.git
synced 2024-11-22 09:19:19 +02:00
Changes the actor type from `Person` to `Service` to allow bot detection
This commit is contained in:
parent
54f61e6dc2
commit
55478651f6
|
@ -92,9 +92,8 @@ function createActor(name, domain, pubkey, displayName, imageUrl, description) {
|
||||||
'https://www.w3.org/ns/activitystreams',
|
'https://www.w3.org/ns/activitystreams',
|
||||||
'https://w3id.org/security/v1'
|
'https://w3id.org/security/v1'
|
||||||
],
|
],
|
||||||
|
|
||||||
'id': `https://${domain}/u/${name}`,
|
'id': `https://${domain}/u/${name}`,
|
||||||
'type': 'Person',
|
'type': 'Service',
|
||||||
'preferredUsername': `${name}`,
|
'preferredUsername': `${name}`,
|
||||||
'inbox': `https://${domain}/api/inbox`,
|
'inbox': `https://${domain}/api/inbox`,
|
||||||
'followers': `https://${domain}/u/${name}/followers`,
|
'followers': `https://${domain}/u/${name}/followers`,
|
||||||
|
|
Loading…
Reference in New Issue