1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 01:34:40 +01:00

Small fix

This commit is contained in:
Daniil Gentili 2022-05-13 09:48:33 +02:00
parent 0cd3517323
commit fc4880c192

View File

@ -171,7 +171,7 @@ trait CallHandler
$method,
$methodInfo['type'],
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') {
$message->setUserRelated(true);