1
0
Fork 0

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
1 changed files with 1 additions and 0 deletions

View File

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