we need a profile url. Something.

This commit is contained in:
Friendika 2011-04-16 15:48:08 -07:00
parent 06492b76b1
commit 12571c42f1

View file

@ -338,6 +338,7 @@ function probe_url($url) {
$addr = $orig_url; $addr = $orig_url;
$network = NETWORK_MAIL; $network = NETWORK_MAIL;
$name = substr($url,0,strpos($url,'@')); $name = substr($url,0,strpos($url,'@'));
$profile = 'http://' . substr($url,strpos($url,'@')+1);
// fix nick // fix nick
$vcard = array('fn' => $name, 'nick' => $name, 'photo' => gravatar_img($url)); $vcard = array('fn' => $name, 'nick' => $name, 'photo' => gravatar_img($url));
$notify = 'smtp'; $notify = 'smtp';