This commit is contained in:
Daniil Gentili 2020-02-05 21:21:31 +01:00
parent 447b3718ad
commit c0a0c693e3
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -141,7 +141,7 @@ trait CallHandler
if (!isset($aargs['postpone'])) { if (!isset($aargs['postpone'])) {
$this->writer->resume(); $this->writer->resume();
} }
return yield all($promises); return $promises;
} }
$args = (yield from $this->API->botAPIToMTProto($args)); $args = (yield from $this->API->botAPIToMTProto($args));
if (isset($args['ping_id']) && \is_int($args['ping_id'])) { if (isset($args['ping_id']) && \is_int($args['ping_id'])) {