Fix adding a request twice (or container) to ._pending_receive

This commit is contained in:
Lonami Exo 2017-09-27 13:26:35 +02:00
parent 0c11967232
commit efca981312

View File

@ -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"""