mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update ProfileTransformer, fix Mastodon indexable context
This commit is contained in:
parent
817b494703
commit
83900a3b00
1 changed files with 2 additions and 2 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue