Use the AP adress for probing webfinger
This commit is contained in:
parent
fc2340d4af
commit
41c96f787d
|
@ -712,7 +712,14 @@ class Probe
|
||||||
|
|
||||||
Logger::info('Probing start', ['uri' => $uri]);
|
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($data)) {
|
||||||
if (!empty($parts['scheme'])) {
|
if (!empty($parts['scheme'])) {
|
||||||
return self::feed($uri);
|
return self::feed($uri);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user