mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 01:34:40 +01:00
Small fix
This commit is contained in:
parent
0cd3517323
commit
fc4880c192
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user