kopia lustrzana https://github.com/nextcloud/social
empty result on missing actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/1226/head
rodzic
ce462c707a
commit
0c1e12aa7e
|
@ -131,10 +131,7 @@ class WebfingerHandler implements IHandler {
|
|||
try {
|
||||
$actor = $this->cacheActorService->getFromLocalAccount($subject);
|
||||
} catch (CacheActorDoesNotExistException $e) {
|
||||
$actor = $this->cacheActorsRequest->getFromId($subject);
|
||||
if (!$actor->isLocal()) {
|
||||
throw new CacheActorDoesNotExistException();
|
||||
}
|
||||
return $response;
|
||||
}
|
||||
|
||||
$href = $this->configService->getSocialUrl() . '@' . $actor->getPreferredUsername();
|
||||
|
|
Ładowanie…
Reference in New Issue