mirror of
https://github.com/friendica/friendica
synced 2024-11-10 07:42:53 +00:00
Reformatted array
This commit is contained in:
parent
f12cc9648e
commit
b0693c1ad7
1 changed files with 7 additions and 1 deletions
|
@ -916,7 +916,13 @@ class Transmitter
|
|||
$networks = [Protocol::ACTIVITYPUB, Protocol::OSTATUS];
|
||||
}
|
||||
|
||||
$condition = ['uid' => $uid, 'archive' => false, 'pending' => false, 'blocked' => false, 'network' => Protocol::FEDERATED];
|
||||
$condition = [
|
||||
'uid' => $uid,
|
||||
'archive' => false,
|
||||
'pending' => false,
|
||||
'blocked' => false,
|
||||
'network' => Protocol::FEDERATED,
|
||||
];
|
||||
|
||||
if (!empty($uid)) {
|
||||
$condition['rel'] = [Contact::FOLLOWER, Contact::FRIEND];
|
||||
|
|
Loading…
Reference in a new issue