From fc4880c1927a08512d8b2b00af2958c9170cc187 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Fri, 13 May 2022 09:48:33 +0200 Subject: [PATCH] Small fix --- src/danog/MadelineProto/MTProtoSession/CallHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/MTProtoSession/CallHandler.php b/src/danog/MadelineProto/MTProtoSession/CallHandler.php index 805d981ca..2b926af9b 100644 --- a/src/danog/MadelineProto/MTProtoSession/CallHandler.php +++ b/src/danog/MadelineProto/MTProtoSession/CallHandler.php @@ -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);