mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 10:38:59 +01:00
Fixes for dialog fetching
This commit is contained in:
parent
bc4d907a46
commit
c668f5933f
@ -19,7 +19,8 @@ trait DialogHandler
|
||||
if ($force ||
|
||||
!isset($this->dialog_params['offset_date']) || is_null($this->dialog_params['offset_date']) ||
|
||||
!isset($this->dialog_params['offset_id']) || is_null($this->dialog_params['offset_id']) ||
|
||||
!isset($this->dialog_params['offset_peer']) || is_null($this->dialog_params['offset_peer'])
|
||||
!isset($this->dialog_params['offset_peer']) || is_null($this->dialog_params['offset_peer']) ||
|
||||
!isset($this->dialog_params['count']) || is_null($this->dialog_params['count'])
|
||||
) {
|
||||
$this->dialog_params = ['limit' => 0, 'offset_date' => 0, 'offset_id' => 0, 'offset_peer' => ['_' => 'inputPeerEmpty'], 'count' => 0];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user