diff --git a/lib/Db/NotesRequest.php b/lib/Db/NotesRequest.php index ec9aca9f..b4de9316 100644 --- a/lib/Db/NotesRequest.php +++ b/lib/Db/NotesRequest.php @@ -204,6 +204,7 @@ class NotesRequest extends NotesRequestBuilder { $this->limitToRecipient($qb, ActivityService::TO_PUBLIC); $this->limitPaginate($qb, $since, $limit); $this->limitToAttributedTo($qb, $actorId); + $this->leftJoinCacheActors($qb, 'attributed_to'); $notes = []; $cursor = $qb->execute(); diff --git a/lib/Service/ActivityPub/FollowService.php b/lib/Service/ActivityPub/FollowService.php index e243c271..4e9942af 100644 --- a/lib/Service/ActivityPub/FollowService.php +++ b/lib/Service/ActivityPub/FollowService.php @@ -136,7 +136,7 @@ class FollowService implements ICoreService { } catch (FollowDoesNotExistException $e) { $this->followsRequest->save($follow); // TODO - Remove this auto-accepted. -// $this->followsRequest->accepted($follow); + $this->followsRequest->accepted($follow); $follow->addInstancePath( new InstancePath(