mirror of
https://github.com/dariusk/rss-to-activitypub.git
synced 2024-11-22 17:29:19 +02:00
Merge pull request #32 from HorlogeSkynet/feature/allow_bot_detection
Allow "Bot tagging" by other Fediverse services
This commit is contained in:
commit
4754a0dc92
|
@ -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