]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #7924 from annando/issue-7691
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 10 Dec 2019 13:36:07 +0000 (08:36 -0500)
committerGitHub <noreply@github.com>
Tue, 10 Dec 2019 13:36:07 +0000 (08:36 -0500)
Issue 7691: We can now switch to BCC for ActivityPub

src/Protocol/ActivityPub/Transmitter.php
static/defaults.config.php

index b28ee4452e0c47112147a55b98b91bfd426ee536..2afd54e47a4b62ba9d555b5293666e7de72e2c0e 100644 (file)
@@ -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;
index 67fe10391043e71bc4e3a3327f9e9ea39845fe88..e8211d597d713088cb3998cf51e60143b114c7d4 100644 (file)
@@ -59,6 +59,10 @@ return [
                // Only show small preview pictures.
                'always_show_preview' => false,
 
+               // ap_always_bcc (Boolean)
+               // Adresses non-mentioned ActivityPub receivers by BCC instead of CC. Increases privacy, decreases performance.
+               'ap_always_bcc' => false,
+
                // archival_days (Integer)
                // Number of days that we try to deliver content before we archive a contact.
                'archival_days' => 32,