Make sessions async

SQLiteSession is not updated, don't try to use it
This commit is contained in:
Tulir Asokan
2021-12-20 18:52:02 +02:00
committed by Lonami Exo
parent 43f629f665
commit d2de0f3aca
9 changed files with 54 additions and 80 deletions

View File

@@ -597,7 +597,7 @@ class AuthMethods:
self._state_cache.reset()
await self.disconnect()
self.session.delete()
await self.session.delete()
return True
async def edit_2fa(