mirror of
https://github.com/friendica/friendica
synced 2025-04-27 07:10:12 +00:00
New constant for federated protocols
This commit is contained in:
parent
4bb7a8c342
commit
6041f74df6
14 changed files with 29 additions and 27 deletions
|
@ -358,7 +358,7 @@ class Transmitter
|
|||
|
||||
if (Config::get('debug', 'total_ap_delivery')) {
|
||||
// Will be activated in a later step
|
||||
$networks = [Protocol::ACTIVITYPUB, Protocol::DFRN, Protocol::DIASPORA, Protocol::OSTATUS];
|
||||
$networks = Protocol::FEDERATED;
|
||||
} else {
|
||||
// For now only send to these contacts:
|
||||
$networks = [Protocol::ACTIVITYPUB, Protocol::OSTATUS];
|
||||
|
@ -530,7 +530,7 @@ class Transmitter
|
|||
|
||||
if (Config::get('debug', 'total_ap_delivery')) {
|
||||
// Will be activated in a later step
|
||||
$networks = [Protocol::ACTIVITYPUB, Protocol::DFRN, Protocol::DIASPORA, Protocol::OSTATUS];
|
||||
$networks = Protocol::FEDERATED;
|
||||
} else {
|
||||
// For now only send to these contacts:
|
||||
$networks = [Protocol::ACTIVITYPUB, Protocol::OSTATUS];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue