mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 06:14:39 +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…
Reference in New Issue
Block a user