mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
Support async def in sessions (#1013)
This commit is contained in:
@@ -399,7 +399,7 @@ class AuthMethods(MessageParseMethods, UserMethods):
|
||||
return False
|
||||
|
||||
await self.disconnect()
|
||||
self.session.delete()
|
||||
await self.session.delete()
|
||||
self._authorized = False
|
||||
return True
|
||||
|
||||
|
Reference in New Issue
Block a user