From: friendica Date: Thu, 5 Apr 2012 03:48:35 +0000 (-0700) Subject: also block outbound X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=37801dd6ed60776fc128d44f0d63a57e1b5e37d0;p=friendica.git also block outbound --- diff --git a/include/diaspora.php b/include/diaspora.php index 37d5990eee..06df9c24a4 100755 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -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']);