1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-22 16:31:11 +01:00
This commit is contained in:
Daniil Gentili 2023-02-18 11:34:00 +01:00
parent b6c2d93185
commit ade7905e84

View File

@ -1083,7 +1083,7 @@ trait PeerHandler
$promises = [];
for ($x = 'a'; $x !== 'aa' && $total_count > \count($res['participants']); $x++) {
$promises []= async(function () use ($channel, $filter, $q, $x, $total_count, &$res, $depth): void {
$this->recurseAlphabetSearchParticipants($channel, $filter, $q.$x, $total_count, $res, $depth);
return $this->recurseAlphabetSearchParticipants($channel, $filter, $q.$x, $total_count, $res, $depth);
});
}