Merge pull request #1623 from pixelfed/staging

Update FollowerController
This commit is contained in:
daniel 2019-08-18 20:46:28 -06:00 committed by GitHub
commit 26c1f6362a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,6 +119,7 @@ class FollowerController extends Controller
$payload = [ $payload = [
'@context' => 'https://www.w3.org/ns/activitystreams', '@context' => 'https://www.w3.org/ns/activitystreams',
'id' => $user->permalink('#follow/'.$target->id.''),
'type' => 'Follow', 'type' => 'Follow',
'actor' => $user->permalink(), 'actor' => $user->permalink(),
'object' => $target->permalink() 'object' => $target->permalink()