Skip to content
Permalink
Browse files
Likely fix .log_out crashing "calling Event" (#349)
  • Loading branch information
andr-04 authored and Lonami committed Oct 16, 2017
1 parent ee01724 commit ed77ba6f8ff115ac624f02f691c9991e5b37be60
Showing with 1 addition and 1 deletion.
  1. +1 −1 telethon/network/mtproto_sender.py
@@ -217,7 +217,7 @@ def _process_msg(self, msg_id, sequence, reader, state):
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

0 comments on commit ed77ba6

Please sign in to comment.