mirror of
https://github.com/friendica/friendica
synced 2025-04-30 00:24:24 +02:00
Make PHP-CS super-happy :)
This commit is contained in:
parent
3e5872d0b1
commit
f2ce5647f2
6 changed files with 44 additions and 41 deletions
|
@ -38,9 +38,9 @@ use stdClass;
|
|||
*/
|
||||
class Jetstream
|
||||
{
|
||||
private $uids = [];
|
||||
private $self = [];
|
||||
private $capped = false;
|
||||
private $uids = [];
|
||||
private $self = [];
|
||||
private $capped = false;
|
||||
|
||||
/** @var LoggerInterface */
|
||||
private $logger;
|
||||
|
@ -213,8 +213,8 @@ class Jetstream
|
|||
|
||||
if (!$this->capped && count($dids) < $did_limit) {
|
||||
$condition = ["`uid` = ? AND `network` = ? AND EXISTS(SELECT `author-id` FROM `post-user` WHERE `author-id` = `contact`.`id` AND `post-user`.`uid` != ?)", 0, Protocol::BLUESKY, 0];
|
||||
$contacts = Contact::selectToArray(['url'], $condition, ['order' => ['last-item' => true], 'limit' => $did_limit]);
|
||||
$dids = $this->addDids($contacts, $uids, $did_limit, $dids);
|
||||
$contacts = Contact::selectToArray(['url'], $condition, ['order' => ['last-item' => true], 'limit' => $did_limit]);
|
||||
$dids = $this->addDids($contacts, $uids, $did_limit, $dids);
|
||||
}
|
||||
|
||||
$this->keyValue->set('jetstream_did_count', count($dids));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue