Replace "Probe::uri" with "Contact::getByURL"

This commit is contained in:
Michael 2020-07-16 10:22:14 +00:00
parent c352af8eda
commit d6bf7f2cda
7 changed files with 18 additions and 20 deletions

View file

@ -294,7 +294,7 @@ function dfrn_request_post(App $a)
$hcard = '';
// Detect the network
$data = Probe::uri($url);
$data = Contact::getByURL($url);
$network = $data["network"];
// Canonicalize email-style profile locator