1
0
Fork 0

Update ProfileTransformer, fix Mastodon indexable context

This commit is contained in:
Daniel Supernault 2023-08-27 21:43:11 -06:00
parent 817b494703
commit 83900a3b00
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ class ProfileTransformer extends Fractal\TransformerAbstract
'https://w3id.org/security/v1',
'https://www.w3.org/ns/activitystreams',
[
'pixelfed' => 'http://pixelfed.org/ns#',
'toot' => 'http://joinmastodon.org/ns#',
'manuallyApprovesFollowers' => 'as:manuallyApprovesFollowers',
'alsoKnownAs' => [
'@id' => 'as:alsoKnownAs',
@ -25,7 +25,7 @@ class ProfileTransformer extends Fractal\TransformerAbstract
'@id' => 'as:movedTo',
'@type' => '@id'
],
'indexable' => 'pixelfed:indexable',
'indexable' => 'toot:indexable',
],
],
'id' => $profile->permalink(),