Skip to content

Commit 9925e2a

Browse files
committed
Fix
1 parent 8df9c8f commit 9925e2a

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

docs

Submodule docs updated 53 files

examples/pipesbot

src/MTProto/MTProtoOutgoingMessage.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,11 @@ public function __construct(
145145

146146
if ($self->hasMsgId()) {
147147
$self->connection->API->logger("Cancelling $self...");
148-
$self->connection->API->logger($self->connection->methodCallAsyncRead(
148+
$self->connection->API->logger($self->connection->objectCallAsync(
149149
'rpc_drop_answer',
150150
['req_msg_id' => $self->getMsgId()]
151151
));
152+
$self->connection->flush(true);
152153
}
153154
});
154155
}

0 commit comments

Comments
 (0)