From: Michael Date: Mon, 9 Dec 2019 21:37:31 +0000 (+0000) Subject: Issue 7691: We can now switch to BCC for ActivityPub X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2a31b2383f7753f70f5829e202f248247e916321;p=friendica.git Issue 7691: We can now switch to BCC for ActivityPub --- diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index b28ee4452e..2afd54e47a 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -363,6 +363,10 @@ class Transmitter } } + if (Config::get('system', 'ap_always_bcc')) { + $always_bcc = true; + } + if (self::isAnnounce($item) || Config::get('debug', 'total_ap_delivery')) { // Will be activated in a later step $networks = Protocol::FEDERATED; diff --git a/static/defaults.config.php b/static/defaults.config.php index 67fe103910..f893a12e10 100644 --- a/static/defaults.config.php +++ b/static/defaults.config.php @@ -59,6 +59,10 @@ return [ // Only show small preview pictures. 'always_show_preview' => false, + // ap_always_bcc (Boolean) + // Adressing receivers via ActivityPub by BCC. Increases privacy, decreases performnce. + 'ap_always_bcc' => false, + // archival_days (Integer) // Number of days that we try to deliver content before we archive a contact. 'archival_days' => 32,