mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 11:18:59 +01:00
Apply fixes from StyleCI
This commit is contained in:
parent
5f056d12d7
commit
ac32bb6bc6
@ -459,7 +459,11 @@ trait PeerHandler
|
||||
try {
|
||||
$gres = $this->method_call('channels.getParticipants', ['channel' => $full['InputChannel'], 'filter' => ['_' => $filter, 'q' => ''], 'offset' => $offset += $limit, 'limit' => $limit], ['datacenter' => $this->datacenter->curdc]);
|
||||
} catch (\danog\MadelineProto\RPCErrorException $e) {
|
||||
if ($e->rpc === 'CHAT_ADMIN_REQUIRED') continue; else throw $e;
|
||||
if ($e->rpc === 'CHAT_ADMIN_REQUIRED') {
|
||||
continue;
|
||||
} else {
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
$count = $gres['count'];
|
||||
while ($offset <= $count) {
|
||||
@ -514,7 +518,6 @@ trait PeerHandler
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
if ($fullfetch || $send) {
|
||||
|
Loading…
Reference in New Issue
Block a user