mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
also block outbound
This commit is contained in:
parent
b45327b856
commit
37801dd6ed
1 changed files with 5 additions and 0 deletions
|
@ -2283,6 +2283,11 @@ function diaspora_send_mail($item,$owner,$contact) {
|
|||
|
||||
function diaspora_transmit($owner,$contact,$slap,$public_batch) {
|
||||
|
||||
$enabled = intval(get_config('system','diaspora_enabled'));
|
||||
if(! $enabled) {
|
||||
return 200;
|
||||
}
|
||||
|
||||
$a = get_app();
|
||||
$logid = random_string(4);
|
||||
$dest_url = (($public_batch) ? $contact['batch'] : $contact['notify']);
|
||||
|
|
Loading…
Reference in a new issue