strict privacy mode (Friendika-Z) - refuse to talk to networks with privacy issues
This commit is contained in:
@@ -22,10 +22,8 @@ function follow_post(&$a) {
|
||||
// NOTREACHED
|
||||
}
|
||||
|
||||
|
||||
$ret = probe_url($url);
|
||||
|
||||
|
||||
if($ret['network'] === NETWORK_DFRN) {
|
||||
if(strlen($a->path))
|
||||
$myaddr = bin2hex($a->get_baseurl() . '/profile/' . $a->user['nickname']);
|
||||
@@ -36,6 +34,9 @@ function follow_post(&$a) {
|
||||
|
||||
// NOTREACHED
|
||||
}
|
||||
elseif(get_config('system','strict_privacy')) {
|
||||
unset($ret['notify']);
|
||||
}
|
||||
|
||||
// do we have enough information?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user