Actually save client session after QR login in noweb

pull/1/head
hikariatama 2023-03-03 20:38:46 +00:00
parent 80df4403c4
commit af74ea8bc1
1 changed files with 3 additions and 2 deletions

View File

@ -562,8 +562,7 @@ class Hikka:
client.start(phone)
asyncio.ensure_future(self.save_client_session(client))
await self.save_client_session(client)
self.clients += [client]
return True
@ -633,6 +632,8 @@ class Hikka:
else:
break
await self.save_client_session(client)
self.clients += [client]
return True
if not self.web.running.is_set():