strict privacy mode (Friendika-Z) - refuse to talk to networks with privacy issues
This commit is contained in:
@@ -192,6 +192,11 @@ function salmon_post(&$a) {
|
||||
// NOTREACHED
|
||||
}
|
||||
|
||||
// Check if we're allowed to talk to insecure networks
|
||||
|
||||
if(get_config('system','strict_privacy'))
|
||||
salmon_return(400);
|
||||
|
||||
require_once('include/items.php');
|
||||
|
||||
// Placeholder for hub discovery. We shouldn't find any hubs
|
||||
|
||||
Reference in New Issue
Block a user