mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
Don't error when calling disconnect after logout
This commit is contained in:
@@ -620,6 +620,7 @@ class AuthMethods:
|
||||
|
||||
await self.disconnect()
|
||||
self.session.delete()
|
||||
self.session = None
|
||||
return True
|
||||
|
||||
async def edit_2fa(
|
||||
|
Reference in New Issue
Block a user