1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 07:34:41 +01:00

Yet Another Bugfix

This commit is contained in:
Daniil Gentili 2017-02-23 00:51:50 +01:00
parent 640b6e84d4
commit f7b3710c38

View File

@ -558,9 +558,9 @@ trait TL
public function botAPI_to_MTProto($arguments)
{
foreach ($this->botapi_params as $bot => $mtproto) {
if (isset($arguments[$bot])) {
if (isset($arguments[$bot]) && !isset($arguments[$mtproto])) {
$arguments[$mtproto] = $arguments[$bot];
unset($arguments[$bot]);
//unset($arguments[$bot]);
}
}
if (isset($arguments['reply_markup'])) {