From a2c759cd0b5295635a3df4cc6630114076cad2dc Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 20 May 2024 16:18:55 +0200 Subject: [PATCH] Fix --- src/MTProto/MTProtoOutgoingMessage.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/MTProto/MTProtoOutgoingMessage.php b/src/MTProto/MTProtoOutgoingMessage.php index fabbab1fe..94aa99d9d 100644 --- a/src/MTProto/MTProtoOutgoingMessage.php +++ b/src/MTProto/MTProtoOutgoingMessage.php @@ -129,12 +129,6 @@ class MTProtoOutgoingMessage extends MTProtoMessage ) { $this->userRelated = $constructor === 'users.getUsers' && $body === ['id' => [['_' => 'inputUserSelf']]] || $constructor === 'auth.exportAuthorization' || $constructor === 'updates.getDifference'; - if ($isMethod) { - $connection->inFlightGauge?->inc([ - 'method' => $this->constructor, - ]); - } - parent::__construct(!isset(MTProtoMessage::NOT_CONTENT_RELATED[$constructor])); $cancellation?->subscribe(fn (CancelledException $e) => $this->reply(static fn () => throw $e)); }