Link to internal profile page

This makes it possible to follow the user

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
pull/1500/head
Carl Schwan 2022-10-27 15:47:35 +02:00
rodzic 0d6fa6dde5
commit 60f7ce31bb
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -212,7 +212,7 @@ class UnifiedSearchProvider implements IProvider {
$icon,
$account->getPreferredUsername(),
'@' . $account->getAccount(),
$account->getUrl(),
$this->urlGenerator->linkToRoute('social.ActivityPub.actorAlias', ['username' => $account->getAccount()]),
$icon
);
}