mirror of
https://github.com/friendica/friendica
synced 2024-11-19 06:23:40 +00:00
identify email-only contacts
This commit is contained in:
parent
8673b08c1c
commit
c012843282
1 changed files with 8 additions and 1 deletions
|
@ -10,7 +10,9 @@ function follow_post(&$a) {
|
||||||
// NOTREACHED
|
// NOTREACHED
|
||||||
}
|
}
|
||||||
|
|
||||||
$url = notags(trim($_POST['url']));
|
$url = $orig_url = notags(trim($_POST['url']));
|
||||||
|
|
||||||
|
$email_conversant = false;
|
||||||
|
|
||||||
if($url) {
|
if($url) {
|
||||||
$links = lrdd($url);
|
$links = lrdd($url);
|
||||||
|
@ -29,6 +31,11 @@ function follow_post(&$a) {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
if((strpos($orig_url,'@')) && validate_email($orig_url)) {
|
||||||
|
$email_conversant = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we find a DFRN site, send our subscriber to the other person's
|
// If we find a DFRN site, send our subscriber to the other person's
|
||||||
|
|
Loading…
Reference in a new issue