Merge branch 'master' of github.com:danog/MadelineProto into maybe-v5

This commit is contained in:
Daniil Gentili 2019-12-22 19:11:21 +01:00
commit d4c188ece4
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -1098,7 +1098,7 @@ class TL
if ($x['_'] === 'message' && isset($x['reply_markup']['rows'])) {
foreach ($x['reply_markup']['rows'] as $key => $row) {
foreach ($row['buttons'] as $bkey => $button) {
$x['reply_markup']['rows'][$key]['buttons'][$bkey] = new Types\Button($this, $x, $button);
$x['reply_markup']['rows'][$key]['buttons'][$bkey] = new Types\Button($this->API, $x, $button);
}
}
}