diff options
author | Friendika <info@friendika.com> | 2011-09-07 22:49:58 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-09-07 22:49:58 -0700 |
commit | fdd372a7988733586b86cac25ba5a521a9f3055e (patch) | |
tree | d171f692038464342fd5db81ece65d150685f18e /include/Scrape.php | |
parent | c8f64930084a6490cd31ea386cea51cefef7e7dc (diff) | |
download | volse-hubzilla-fdd372a7988733586b86cac25ba5a521a9f3055e.tar.gz volse-hubzilla-fdd372a7988733586b86cac25ba5a521a9f3055e.tar.bz2 volse-hubzilla-fdd372a7988733586b86cac25ba5a521a9f3055e.zip |
speed up friend requests and avoid parse errors by using hcard address instead of profile url
Diffstat (limited to 'include/Scrape.php')
-rw-r--r-- | include/Scrape.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']; |