mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 23:14:38 +01:00
Apply fixes from StyleCI
This commit is contained in:
parent
8a88dc8650
commit
af0cf569db
@ -430,7 +430,9 @@ trait PeerHandler
|
||||
$res['participants'][$key] = $newres;
|
||||
}
|
||||
$gres = $this->method_call('channels.getParticipants', ['channel' => $full['InputChannel'], 'filter' => ['_' => 'channelParticipantsRecent'], 'offset' => $offset += $limit, 'limit' => $limit]);
|
||||
if (empty($gres['participants'])) break;
|
||||
if (empty($gres['participants'])) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($fullfetch || $send) {
|
||||
|
@ -451,11 +451,11 @@ trait UpdateHandler
|
||||
}
|
||||
if ($channel === false) {
|
||||
foreach ($updates as $update) {
|
||||
$this->handle_update($update, $options);
|
||||
$this->handle_update($update, $options);
|
||||
}
|
||||
} else {
|
||||
foreach ($updates as $update) {
|
||||
$this->handle_update($update);
|
||||
$this->handle_update($update);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user