Fix following and actor_info for account stream

Signed-off-by: Julius Härtl <jus@bitgrid.net>
alpha1
Julius Härtl 2018-12-05 10:49:44 +01:00
rodzic 61a28c2171
commit 9d71a7b50c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4C614C6ED2CDE6DF
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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();

Wyświetl plik

@ -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(