From c0a0c693e3d2820cd54ae8571477b2d28d8f2ee4 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 5 Feb 2020 21:21:31 +0100 Subject: [PATCH] Bugfix --- src/danog/MadelineProto/MTProtoSession/CallHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/MTProtoSession/CallHandler.php b/src/danog/MadelineProto/MTProtoSession/CallHandler.php index fd92dee7..9fbdfd07 100644 --- a/src/danog/MadelineProto/MTProtoSession/CallHandler.php +++ b/src/danog/MadelineProto/MTProtoSession/CallHandler.php @@ -141,7 +141,7 @@ trait CallHandler if (!isset($aargs['postpone'])) { $this->writer->resume(); } - return yield all($promises); + return $promises; } $args = (yield from $this->API->botAPIToMTProto($args)); if (isset($args['ping_id']) && \is_int($args['ping_id'])) {