mirror of
https://github.com/friendica/friendica
synced 2024-11-10 02:22:55 +00:00
Issue 7691: We can now switch to BCC for ActivityPub
This commit is contained in:
parent
a4cc22e8fb
commit
2a31b2383f
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)
|
||||||
|
// 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,
|
||||||
|
|
Loading…
Reference in a new issue