mirror of
https://github.com/friendica/friendica
synced 2024-11-13 00:22:59 +00:00
we need a profile url. Something.
This commit is contained in:
parent
06492b76b1
commit
12571c42f1
1 changed files with 1 additions and 0 deletions
|
@ -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