From fdd372a7988733586b86cac25ba5a521a9f3055e Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 7 Sep 2011 22:49:58 -0700 Subject: speed up friend requests and avoid parse errors by using hcard address instead of profile url --- include/Scrape.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/Scrape.php') diff --git a/include/Scrape.php b/include/Scrape.php index bf64c2243..b80f24c22 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']; -- cgit v1.2.3