mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-12-01 22:03:46 +03:00
Revert 63dfb1e
as many updates were being dropped
This commit is contained in:
parent
033119e9b8
commit
1a91c024fc
|
@ -174,15 +174,6 @@ class MtProtoSender:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# TODO Check salt, session_id and sequence_number
|
# TODO Check salt, session_id and sequence_number
|
||||||
if msg_id in self._need_confirmation:
|
|
||||||
# We're yet to acknowledge this message already, so just drop it
|
|
||||||
# as we are already aware of it. TODO Should we force acknowledging
|
|
||||||
# all the self._need_confirmation IDs?
|
|
||||||
self._logger.debug(
|
|
||||||
'Ignoring message pending of acknowledge: {}'.format(msg_id)
|
|
||||||
)
|
|
||||||
return False
|
|
||||||
|
|
||||||
self._need_confirmation.add(msg_id)
|
self._need_confirmation.add(msg_id)
|
||||||
|
|
||||||
code = reader.read_int(signed=False)
|
code = reader.read_int(signed=False)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user