OStatus support removed
This commit is contained in:
parent
eb066b258d
commit
e8a3be6820
87 changed files with 770 additions and 4380 deletions
|
|
@ -869,20 +869,6 @@ class Probe
|
|||
$data['baseurl'] = trim($link['href'], '/');
|
||||
} elseif (($link['rel'] == 'http://webfinger.net/rel/blog') && !empty($link['href'])) {
|
||||
$data['url'] = $link['href'];
|
||||
} elseif (($link['rel'] == 'magic-public-key') && !empty($link['href'])) {
|
||||
$pubkey = $link['href'];
|
||||
|
||||
if (substr($pubkey, 0, 5) === 'data:') {
|
||||
if (strstr($pubkey, ',')) {
|
||||
$pubkey = substr($pubkey, strpos($pubkey, ',') + 1);
|
||||
} else {
|
||||
$pubkey = substr($pubkey, 5);
|
||||
}
|
||||
try {
|
||||
$data['pubkey'] = Salmon::magicKeyToPem($pubkey);
|
||||
} catch (\Throwable $e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue