1
0
Fork 0

also block outbound

This commit is contained in:
friendica 2012-04-04 20:48:35 -07:00
parent b45327b856
commit 37801dd6ed

View file

@ -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']);