mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-22 20:31:11 +01:00
Small fix
This commit is contained in:
parent
26d67be358
commit
0a01559243
@ -460,6 +460,9 @@ class Connection
|
||||
}
|
||||
} elseif ($method === 'channels.deleteUserHistory') {
|
||||
$method = 'channels.deleteParticipantHistory';
|
||||
if (isset($arguments['user_id'])) {
|
||||
$arguments['participant'] = $arguments['user_id'];
|
||||
}
|
||||
}
|
||||
if ($method === 'messages.sendEncrypted' || $method === 'messages.sendEncryptedService') {
|
||||
$arguments['queuePromise'] = new Deferred;
|
||||
|
Loading…
x
Reference in New Issue
Block a user