mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-26 03:13:45 +03:00
Likely fix .log_out crashing "calling Event" (#349)
This commit is contained in:
parent
ee01724cdb
commit
ed77ba6f8f
|
@ -217,7 +217,7 @@ class MtProtoSender:
|
|||
r = self._pop_request_of_type(msg_id, LogOutRequest)
|
||||
if r:
|
||||
r.result = True # Telegram won't send this value
|
||||
r.confirm_received()
|
||||
r.confirm_received.set()
|
||||
self._logger.debug('Message ack confirmed', r)
|
||||
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue
Block a user