aboutsummaryrefslogtreecommitdiffstats
path: root/include/Scrape.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-10 15:28:48 -0700
committerfriendica <info@friendica.com>2012-04-10 15:28:48 -0700
commit3c66816938bdc97490dee52e98433164aa9f81a7 (patch)
treec7c0e189018703459d8b699e6d2d773696eba547 /include/Scrape.php
parent35b978bb1e5a935d99015098029f2ed29ff07498 (diff)
parent1f9fe8b5eeebfb6bc1275cba7dbb4daac1a2e910 (diff)
downloadvolse-hubzilla-3c66816938bdc97490dee52e98433164aa9f81a7.tar.gz
volse-hubzilla-3c66816938bdc97490dee52e98433164aa9f81a7.tar.bz2
volse-hubzilla-3c66816938bdc97490dee52e98433164aa9f81a7.zip
Merge branch 'libravatar' of https://github.com/dawnbreak/friendica into pull
Diffstat (limited to 'include/Scrape.php')
-rw-r--r--include/Scrape.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Scrape.php b/include/Scrape.php
index 9c237916b..141c90dcf 100644
--- a/include/Scrape.php
+++ b/include/Scrape.php
@@ -446,7 +446,7 @@ function probe_url($url, $mode = PROBE_NORMAL) {
$phost = substr($url,strpos($url,'@')+1);
$profile = 'http://' . $phost;
// fix nick character range
- $vcard = array('fn' => $name, 'nick' => $name, 'photo' => gravatar_img($url));
+ $vcard = array('fn' => $name, 'nick' => $name, 'photo' => avatar_img($url));
$notify = 'smtp ' . random_string();
$poll = 'email ' . random_string();
$priority = 0;
@@ -655,7 +655,7 @@ function probe_url($url, $mode = PROBE_NORMAL) {
}
if((! $vcard['photo']) && strlen($email))
- $vcard['photo'] = gravatar_img($email);
+ $vcard['photo'] = avatar_img($email);
if($poll === $profile)
$lnk = $feed->get_permalink();
if(isset($lnk) && strlen($lnk))