mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 10:59:02 +01:00
Fix missing yield
This commit is contained in:
parent
2b4398bee1
commit
c643cd063a
@ -182,8 +182,9 @@ class MinDatabase implements TLCallback
|
||||
return $object;
|
||||
}
|
||||
$id = $this->API->getId($object);
|
||||
if (yield $this->db[$id]) {
|
||||
$new = \array_merge($object, $this->db[$id]);
|
||||
$dbObject = yield $this->db[$id];
|
||||
if ($dbObject) {
|
||||
$new = \array_merge($object, $dbObject);
|
||||
$new['_'] .= 'FromMessage';
|
||||
$new['peer'] = (yield from $this->API->getInfo($new['peer']))['InputPeer'];
|
||||
if ($new['peer']['min']) {
|
||||
|
Loading…
Reference in New Issue
Block a user