Update code to deal with the new sessions

This commit is contained in:
Lonami Exo
2021-09-19 16:38:11 +02:00
parent 1f5722c925
commit 81b4957d9b
10 changed files with 173 additions and 119 deletions

View File

@@ -372,7 +372,6 @@ async def log_out(self: 'TelegramClient') -> bool:
self._state_cache.reset()
await self.disconnect()
self.session.delete()
return True
async def edit_2fa(