we need a profile url. Something.
This commit is contained in:
parent
06492b76b1
commit
12571c42f1
|
@ -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';
|
||||||
|
|
Loading…
Reference in a new issue