speed up friend requests and avoid parse errors by using hcard address instead of profile url
This commit is contained in:
parent
c8f6493008
commit
fdd372a798
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ function probe_url($url, $mode = PROBE_NORMAL) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(strlen($dfrn)) {
|
if(strlen($dfrn)) {
|
||||||
$ret = scrape_dfrn($dfrn);
|
$ret = scrape_dfrn(($hcard) ? $hcard : $dfrn);
|
||||||
if(is_array($ret) && x($ret,'dfrn-request')) {
|
if(is_array($ret) && x($ret,'dfrn-request')) {
|
||||||
$network = NETWORK_DFRN;
|
$network = NETWORK_DFRN;
|
||||||
$request = $ret['dfrn-request'];
|
$request = $ret['dfrn-request'];
|
||||||
|
|
Loading…
Reference in a new issue