소스 검색

Update ProfileTransformer, fix Mastodon indexable context

Daniel Supernault 1 년 전
부모
커밋
83900a3b00
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/Transformer/ActivityPub/ProfileTransformer.php

+ 2 - 2
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(),