Replace custom WebFinger implementation by Probe::getWebfingerArray in APContact::fetchWebfingerData

- This implementation didn't support separate domains for the address and the final account
This commit is contained in:
Hypolite Petovan 2023-01-26 00:03:57 -05:00
parent 91d8cd2c87
commit 79dc5c177e
2 changed files with 7 additions and 14 deletions

View file

@ -519,7 +519,7 @@ class Probe
* @return array Webfinger data
* @throws HTTPException\InternalServerErrorException
*/
private static function getWebfingerArray(string $uri): array
public static function getWebfingerArray(string $uri): array
{
$parts = parse_url($uri);