strict privacy mode (Friendika-Z) - refuse to talk to networks with privacy issues

This commit is contained in:
Friendika 2011-06-06 16:26:11 -07:00
commit c0094aa4f8
5 changed files with 35 additions and 9 deletions

View file

@ -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?