Update ProfileTransformer, fix Mastodon indexable context

pull/4624/head
Daniel Supernault 2023-08-27 21:43:11 -06:00
rodzic 817b494703
commit 83900a3b00
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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(),