diff --git a/telethon/network/mtproto_sender.py b/telethon/network/mtproto_sender.py index fab8bebd..f948946f 100644 --- a/telethon/network/mtproto_sender.py +++ b/telethon/network/mtproto_sender.py @@ -270,7 +270,7 @@ class MtProtoSender: def _clear_all_pending(self): for r in self._pending_receive.values(): - r.confirm_received.set() + r.confirm_received.request.set() self._pending_receive.clear() def _handle_pong(self, msg_id, sequence, reader):