allow stuff with Diaspora authors to federate in zot conversations even if the local site has diaspora disabled. This way it won't look like folks are talking to themselves.
This commit is contained in:
@@ -118,6 +118,12 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
|
||||
}
|
||||
}
|
||||
else {
|
||||
if(! ($is_http)) {
|
||||
if(! intval(get_config('system','diaspora_enabled'))) {
|
||||
$result['message'] = t('Protocol disabled.');
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
||||
$my_perms = 0;
|
||||
$their_perms = 0;
|
||||
|
Reference in New Issue
Block a user