Yet Another Bugfix
This commit is contained in:
parent
640b6e84d4
commit
f7b3710c38
|
@ -558,9 +558,9 @@ trait TL
|
||||||
public function botAPI_to_MTProto($arguments)
|
public function botAPI_to_MTProto($arguments)
|
||||||
{
|
{
|
||||||
foreach ($this->botapi_params as $bot => $mtproto) {
|
foreach ($this->botapi_params as $bot => $mtproto) {
|
||||||
if (isset($arguments[$bot])) {
|
if (isset($arguments[$bot]) && !isset($arguments[$mtproto])) {
|
||||||
$arguments[$mtproto] = $arguments[$bot];
|
$arguments[$mtproto] = $arguments[$bot];
|
||||||
unset($arguments[$bot]);
|
//unset($arguments[$bot]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (isset($arguments['reply_markup'])) {
|
if (isset($arguments['reply_markup'])) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user