sforkowany z mirror/social
Fix following and actor_info for account stream
Signed-off-by: Julius Härtl <jus@bitgrid.net>alpha1
rodzic
61a28c2171
commit
9d71a7b50c
|
@ -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();
|
||||
|
|
|
@ -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(
|
||||
|
|
Ładowanie…
Reference in New Issue