Issue 7691: We can now switch to BCC for ActivityPub

This commit is contained in:
Michael 2019-12-09 21:37:31 +00:00
parent a4cc22e8fb
commit 2a31b2383f
2 changed files with 8 additions and 0 deletions

View 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')) { if (self::isAnnounce($item) || Config::get('debug', 'total_ap_delivery')) {
// Will be activated in a later step // Will be activated in a later step
$networks = Protocol::FEDERATED; $networks = Protocol::FEDERATED;

View File

@ -59,6 +59,10 @@ return [
// Only show small preview pictures. // Only show small preview pictures.
'always_show_preview' => false, '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) // archival_days (Integer)
// Number of days that we try to deliver content before we archive a contact. // Number of days that we try to deliver content before we archive a contact.
'archival_days' => 32, 'archival_days' => 32,