use mailto: to specify a new email contact and over-rider webfinger
This commit is contained in:
@@ -297,6 +297,12 @@ function probe_url($url) {
|
|||||||
$at_addr = ((strpos($url,'@') !== false) ? true : false);
|
$at_addr = ((strpos($url,'@') !== false) ? true : false);
|
||||||
|
|
||||||
if(! $twitter) {
|
if(! $twitter) {
|
||||||
|
|
||||||
|
if(strpos($url,'mailto:') !== false && $at_addr) {
|
||||||
|
$url = str_replace('mailto:','',$url);
|
||||||
|
$links = array();
|
||||||
|
}
|
||||||
|
else
|
||||||
$links = lrdd($url);
|
$links = lrdd($url);
|
||||||
|
|
||||||
if(count($links)) {
|
if(count($links)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user