From efca98131264920f5bd8806f3467b7853d7bc3b3 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Wed, 27 Sep 2017 13:26:35 +0200 Subject: [PATCH] Fix adding a request twice (or container) to ._pending_receive --- telethon/network/mtproto_sender.py | 1 - 1 file changed, 1 deletion(-) diff --git a/telethon/network/mtproto_sender.py b/telethon/network/mtproto_sender.py index 6a43538a..43c870f5 100644 --- a/telethon/network/mtproto_sender.py +++ b/telethon/network/mtproto_sender.py @@ -72,7 +72,6 @@ class MtProtoSender: request = MessageContainer(self.session, requests) self._send_packet(request.to_bytes(), request) - self._pending_receive.append(request) def _send_acknowledges(self): """Sends a messages acknowledge for all those who _need_confirmation"""