1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 10:19:00 +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, $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);