Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/82/head
Maxence Lange 2018-11-29 16:48:20 -01:00
rodzic c005273e1f
commit 58d4e075dd
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -105,11 +105,11 @@ class SocialPubController extends Controller {
try {
$actor = $this->personService->getFromLocalAccount($username);
$actor->setCompleteDetails(true);
if ($this->userId !== null) {
$local = $this->actorService->getActorFromUserId($this->userId, true);
$this->actorService->acquaintLinksBetweenPersons($actor, $local);
$actor->setCompleteDetails(true);
}
$data = [