From 8563b9560d293e02ff4d1b2d993ef6de085787bd Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Fri, 19 Oct 2018 13:35:29 +0200 Subject: [PATCH] Fix auth_key not being set --- telethon/network/mtprotosender.py | 1 + 1 file changed, 1 insertion(+) diff --git a/telethon/network/mtprotosender.py b/telethon/network/mtprotosender.py index 3400bf58..ada7784d 100644 --- a/telethon/network/mtprotosender.py +++ b/telethon/network/mtprotosender.py @@ -115,6 +115,7 @@ class MTProtoSender: __log__.info('User is already connected!') return + self._auth_key.key = auth_key self._connection = connection self._user_connected = True await self._connect()