From 995d604ea012b74102970aefb532fd1802c621fa Mon Sep 17 00:00:00 2001 From: trwnh Date: Tue, 24 Sep 2019 14:33:29 -0500 Subject: [PATCH] copy activity id instead of guessing blindly see #1710 --- app/Util/ActivityPub/Inbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Util/ActivityPub/Inbox.php b/app/Util/ActivityPub/Inbox.php index 52205bb7d..fdd39d61b 100644 --- a/app/Util/ActivityPub/Inbox.php +++ b/app/Util/ActivityPub/Inbox.php @@ -197,7 +197,7 @@ class Inbox 'type' => 'Accept', 'actor' => $target->permalink(), 'object' => [ - 'id' => $actor->permalink('#follows/' . $follower->id), + 'id' => $this->payload['id'], 'actor' => $actor->permalink(), 'type' => 'Follow', 'object' => $target->permalink()