Merge branch 'master' of github.com:danog/MadelineProto into maybe-v5
This commit is contained in:
commit
d4c188ece4
@ -1098,7 +1098,7 @@ class TL
|
|||||||
if ($x['_'] === 'message' && isset($x['reply_markup']['rows'])) {
|
if ($x['_'] === 'message' && isset($x['reply_markup']['rows'])) {
|
||||||
foreach ($x['reply_markup']['rows'] as $key => $row) {
|
foreach ($x['reply_markup']['rows'] as $key => $row) {
|
||||||
foreach ($row['buttons'] as $bkey => $button) {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user