mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 04:39:50 +01:00
Fix
This commit is contained in:
parent
9ad145fade
commit
a2c759cd0b
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user