From 83900a3b00fc0fa5c755650b032279899bdab55a Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 27 Aug 2023 21:43:11 -0600 Subject: [PATCH] Update ProfileTransformer, fix Mastodon indexable context --- app/Transformer/ActivityPub/ProfileTransformer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Transformer/ActivityPub/ProfileTransformer.php b/app/Transformer/ActivityPub/ProfileTransformer.php index a9d6c4b9f..cdd4eb82d 100644 --- a/app/Transformer/ActivityPub/ProfileTransformer.php +++ b/app/Transformer/ActivityPub/ProfileTransformer.php @@ -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(),