]> git.mxchange.org Git - friendica.git/commitdiff
Issue 7691: We can now switch to BCC for ActivityPub
authorMichael <heluecht@pirati.ca>
Mon, 9 Dec 2019 21:37:31 +0000 (21:37 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 9 Dec 2019 21:37:31 +0000 (21:37 +0000)
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..f893a12e103f52b63953529d253b4bdc62aa428a 100644 (file)
@@ -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,