1
0
Fork 0

Merge pull request #7924 from annando/issue-7691

Issue 7691: We can now switch to BCC for ActivityPub
This commit is contained in:
Hypolite Petovan 2019-12-10 08:36:07 -05:00 committed by GitHub
commit f4c94236c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)
// Adresses non-mentioned ActivityPub receivers by BCC instead of CC. Increases privacy, decreases performance.
'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,