New constant for federated protocols

This commit is contained in:
Michael 2019-07-01 18:00:55 +00:00
parent 4bb7a8c342
commit 6041f74df6
14 changed files with 29 additions and 27 deletions

View file

@ -75,7 +75,7 @@ class ContactBlock
'hidden' => false,
'archive' => false,
'rel' => $rel,
'network' => [Protocol::DFRN, Protocol::ACTIVITYPUB, Protocol::OSTATUS, Protocol::DIASPORA],
'network' => Protocol::FEDERATED,
], ['limit' => $shown]);
if (DBA::isResult($contact_ids_stmt)) {