mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 10:19:00 +01:00
Small fix
This commit is contained in:
parent
0cd3517323
commit
fc4880c192
@ -171,7 +171,7 @@ trait CallHandler
|
|||||||
$method,
|
$method,
|
||||||
$methodInfo['type'],
|
$methodInfo['type'],
|
||||||
true,
|
true,
|
||||||
!$this->shared->hasTempAuthKey() && \strpos($method, '.') === false
|
!$this->shared->hasTempAuthKey() && \strpos($method, '.') === false && $method !== 'ping_delay_disconnect'
|
||||||
);
|
);
|
||||||
if ($method === 'users.getUsers' && $args === ['id' => [['_' => 'inputUserSelf']]] || $method === 'auth.exportAuthorization' || $method === 'updates.getDifference') {
|
if ($method === 'users.getUsers' && $args === ['id' => [['_' => 'inputUserSelf']]] || $method === 'auth.exportAuthorization' || $method === 'updates.getDifference') {
|
||||||
$message->setUserRelated(true);
|
$message->setUserRelated(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user