Skip to content

Commit f9323cd

Browse files
committed
Do not cancel rpc_drop_answer
1 parent 8e2dfd4 commit f9323cd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs

src/MTProto/MTProtoOutgoingMessage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function __construct(
140140
'error_code' => '408',
141141
]);
142142

143-
if ($self->hasMsgId()) {
143+
if ($self->hasMsgId() && $self->constructor !== 'rpc_drop_answer') {
144144
$self->connection->API->logger("Cancelling $self...");
145145
try {
146146
$self->connection->API->logger($self->connection->methodCallAsyncRead(

0 commit comments

Comments
 (0)