Merge pull request #7924 from annando/issue-7691
Issue 7691: We can now switch to BCC for ActivityPub
This commit is contained in:
commit
f4c94236c5
2 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue