From fdfe18a0a65519d2a75ac24a27c4c0e64e76cd70 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 13 Mar 2018 23:28:08 +0000 Subject: [PATCH] Bugfix --- src/danog/MadelineProto/MTProtoTools/ResponseHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/danog/MadelineProto/MTProtoTools/ResponseHandler.php b/src/danog/MadelineProto/MTProtoTools/ResponseHandler.php index 24b55931..04b88306 100644 --- a/src/danog/MadelineProto/MTProtoTools/ResponseHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/ResponseHandler.php @@ -463,11 +463,11 @@ trait ResponseHandler $message['to_id'] = $this->get_info($to_id)['Peer']; } catch (\danog\MadelineProto\Exception $e) { \danog\MadelineProto\Logger::log('Still did not get user in database, postponing update', \danog\MadelineProto\Logger::ERROR); - $this->pending_updates[] = $updates; + //$this->pending_updates[] = $updates; break; } catch (\danog\MadelineProto\RPCErrorException $e) { \danog\MadelineProto\Logger::log('Still did not get user in database, postponing update', \danog\MadelineProto\Logger::ERROR); - $this->pending_updates[] = $updates; + //$this->pending_updates[] = $updates; break; } $update = ['_' => 'updateNewMessage', 'message' => $message, 'pts' => $updates['pts'], 'pts_count' => $updates['pts_count']];