aboutsummaryrefslogtreecommitdiffstats
path: root/include/Scrape.php
diff options
context:
space:
mode:
authorMichael Vogel <icarus@dabo.de>2012-04-11 19:35:51 +0200
committerMichael Vogel <icarus@dabo.de>2012-04-11 19:35:51 +0200
commitee714daf4d33f8258e1301438423fc10a3bdc916 (patch)
treee3da18226db88c42819e2f29b67763581eb1c293 /include/Scrape.php
parentc88c2515e43f7a446a9b358fb657290a8a6c847a (diff)
parenta1d5026abf129fc520327881a293d17c1ab21eff (diff)
downloadvolse-hubzilla-ee714daf4d33f8258e1301438423fc10a3bdc916.tar.gz
volse-hubzilla-ee714daf4d33f8258e1301438423fc10a3bdc916.tar.bz2
volse-hubzilla-ee714daf4d33f8258e1301438423fc10a3bdc916.zip
Merge commit 'upstream/master'
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))