From: Friendika Date: Thu, 8 Sep 2011 05:49:58 +0000 (-0700) Subject: speed up friend requests and avoid parse errors by using hcard address instead of... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fdd372a7988733586b86cac25ba5a521a9f3055e;p=friendica.git speed up friend requests and avoid parse errors by using hcard address instead of profile url --- diff --git a/include/Scrape.php b/include/Scrape.php index bf64c2243f..b80f24c22e 100644 --- a/include/Scrape.php +++ b/include/Scrape.php @@ -471,7 +471,7 @@ function probe_url($url, $mode = PROBE_NORMAL) { } if(strlen($dfrn)) { - $ret = scrape_dfrn($dfrn); + $ret = scrape_dfrn(($hcard) ? $hcard : $dfrn); if(is_array($ret) && x($ret,'dfrn-request')) { $network = NETWORK_DFRN; $request = $ret['dfrn-request'];