Use the AP adress for probing webfinger

This commit is contained in:
Michael 2020-08-23 07:24:39 +00:00
parent fc2340d4af
commit 41c96f787d

View file

@ -712,7 +712,14 @@ class Probe
Logger::info('Probing start', ['uri' => $uri]);
$data = self::getWebfingerArray($uri);
if (!empty($ap_profile['addr']) && ($ap_profile['addr'] != $uri)) {
$data = self::getWebfingerArray($ap_profile['addr']);
}
if (empty($data)) {
$data = self::getWebfingerArray($uri);
}
if (empty($data)) {
if (!empty($parts['scheme'])) {
return self::feed($uri);