mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-13 04:56:35 +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)
|
r = self._pop_request_of_type(msg_id, LogOutRequest)
|
||||||
if r:
|
if r:
|
||||||
r.result = True # Telegram won't send this value
|
r.result = True # Telegram won't send this value
|
||||||
r.confirm_received()
|
r.confirm_received.set()
|
||||||
self._logger.debug('Message ack confirmed', r)
|
self._logger.debug('Message ack confirmed', r)
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user